Missing commands for kits #3550
-
I've installed the extension and I'm trying to set it up to work with an MSYS2 environment. From the command pallet, I don't have any of the options relating to kits, like:
I'm able to run the commands if I add custom key bindings, but I can't see or run them from the command palette. What's going on? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@symjocoleman Have you opened VS Code in a workspace that has a CMakeLists.txt? It could be that, if you've opened it in an empty folder, it won't activate the extension. Hopefully we can get you started! |
Beta Was this translation helpful? Give feedback.
-
The workspace has a I tried another workspace, https://github.com/jameskbride/cmake-hello-world, and the kit's are showing there. It seems the issue is with the CMakePresets.json in my workspace, as if I copy that into the cmake-hello-world workspace and reload VS I lose the options for selecting a kit. |
Beta Was this translation helpful? Give feedback.
Ahh, this is expected. Kits and CMakePreset.json are by design mutually exclusive. We suggest people to move to CMakePresets.json, but if you want to use kits, you cannot use CMakePresets.json