-
Notifications
You must be signed in to change notification settings - Fork 461
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
CMake Tools status bar buttons are visible when non-cmake projects are open #3025
Comments
That is supposed to be the default behavior. Can you run the "Developer: Startup Performance" command and share what you see in the "Extension Activation Stats" table for |
1 of the projects, i have found to have a dummy cmakelists.txt deep down in its directory structure, but the others, i cannot find anything for at all. |
What does the table say for the other projects? Or are you opening a multi-folder workspace? |
What should be happening for your project with the CMakeLists.txt in it is that the extension will activate and ask you to select a CMakeLists.txt that contains your project. If you select one of the ones we found, then we update the |
This is happening for me as well, my project is not CMake based, but a library that is within the source directory as a submodule has a nested CMakeLists.txt somewhere in its directory tree, and this activates the It would be great if there were a setting to only load the extension if CMakeLists.txt was chosen, or a setting in e. g. |
This issue is now marked as 'stale' due to there being no activity on it for the past 30 days and being labelled 'more info needed'. Unless the 'stale' label is removed or the issue is commented on, this will be closed in 7 days. If you would like to make this issue exempt from getting stale, please remove the 'more info needed' and 'stale' labels or add the 'stale-exempt' label |
This issue is now closed due to there being no activity on it for the past 7 days since being marked as 'stale'. |
Brief Issue Summary
When i open up a python project, or a C++ project that has no cmakelists.txt file, or any other non-cmake based project, the cmake tools buttons still appear in the status bar. Can we have it so that the buttons appear selectively, based on whether or not there is a cmakelists.txt file in the root of a workspace/directory?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: