-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension always shows some C++ file specific commands in the command palette #10421
Comments
It looks like the following are specific to the active file and should be hidden if the active file is not C/C++/CUDA:
It looks like the following can be removed entirely:
|
I ran across this issue while investigating the pending Extract Function commands and code actions changes in package.json. |
Fix available in pre-release https://github.com/microsoft/vscode-cpptools/releases/tag/v1.17.1. |
Fixed in release version https://github.com/microsoft/vscode-cpptools/releases/tag/v1.17.2. |
Environment
Bug Summary and Steps to Reproduce
.py
filec++
bug
A bunch of commands that are specific to c/c++ files are shown in the command palette. A good example is
Go to next preprocessor directive
These commands should be reviewed and any that only apply in c++ files should be hidden when not in relevant files
Configuration and Logs
Other Extensions
No response
Additional context
These commands can be hidden by adding an
enablement
clause to thecommand
contribution, or using themenus.commandPalette
contributionThe text was updated successfully, but these errors were encountered: