-
Notifications
You must be signed in to change notification settings - Fork 449
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
Select a Kit dropdown appears for non-CMake projects after installation or when activation by an extension takes too long #1007
Labels
Milestone
Comments
This occurs very frequently in cold start scenarios, such as when a TypeScript/non-CMake folder is opened for the first time. Also seems to occur more often when extensions are updated. |
Fixed by PR #1689. |
CMake Tools 1.7.0 was released today and it contains a fix for this issue. Upgrade the extension in VSCode and let us know if you encounter any other problems. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug#1: Install CMake Tools with a non-CMake project and the Select a Kit dropdown appears.
Bug#2: Put a breakpoint in the activation() method of another extension (e.g. the C/C++ extension) or otherwse cause "too slow" activation, which causes VS Code's "workspace contains **/CMakeLists.txt" activation to switch to "*" activation, causing "Select a Kit" to appear for non-CMake projects.
The fix for both of these would be to be to check on activation if the real activation conditions really occurred or not, similar to what the C/C++ extension does. Other fixes might be possible too.
Bug#3: When the above bugs are hit, then the select a kits also appears after adding a new workspace folder for a non-CMake folder.
The text was updated successfully, but these errors were encountered: