vscode-cmake-tools
vscode-cmake-tools copied to clipboard
"CMake: Select A Kit" Is missing in visual studio code
Brief Issue Summary
i wanted to type CMake: Select A Kit but its missing
CMake Tools Diagnostics
{
"os": "win32",
"vscodeVersion": "1.85.2",
"cmtVersion": "1.16.32",
"configurations": [],
"cpptoolsIntegration": {
"isReady": false,
"hasCodeModel": false,
"activeBuildType": "",
"buildTypesSeen": [],
"requests": [],
"responses": [],
"partialMatches": [],
"targetCount": 0,
"executablesCount": 0,
"librariesCount": 0,
"targets": []
},
"settings": []
}
Debug Log
No response
Additional Information
@DanelOfficial I don't recognize those two commands "Select CMake Configuration" or "Select CMake Project".
Do you have a CMakeLists.txt in your folder? One thing you could try is to reset the CMake Tools extension CMake: Reset CMake Tools Extension State, though it may reset some of your settings.
Could you share a zip of your project so that I can see what might be going on?
@DanelOfficial I don't recognize those two commands "Select CMake Configuration" or "Select CMake Project".
Do you have a CMakeLists.txt in your folder? One thing you could try is to reset the CMake Tools extension
CMake: Reset CMake Tools Extension State, though it may reset some of your settings.Could you share a zip of your project so that I can see what might be going on?
i got a lot CMakeLists CMakeLists.txt CMakeLists (1).txt CMakeLists (2).txt CMakeLists (3).txt CMakeLists (4).txt CMakeLists (5).txt CMakeLists (6).txt CMakeLists (7).txt CMakeLists (8).txt CMakeLists (9).txt CMakeLists (10).txt CMakeLists (11).txt CMakeLists (12).txt
i can't send a zip file of my project its too big
I assume one of those is in your workspace root folder?
Did you attempt to reset the cmake tools extension state?
I assume one of those is in your workspace root folder?
Did you attempt to reset the cmake tools extension state?
Yeah i tried to reset the cmake tools extension state
What is the value of cmake.useCMakePresets in your settings? If it's set to always, that command won't appear. If you aren't using CMakePresets.json, then you could possibly set this to never and you should see this command appear.
What is the value of
cmake.useCMakePresetsin your settings? If it's set to always, that command won't appear. If you aren't using CMakePresets.json, then you could possibly set this toneverand you should see this command appear.
Its never
@DanelOfficial Interesting, this is definitely an odd bug.
If you could create a minimal repro that we could investigate with, as well as attempt the repro with the cmake.loggingLevel set to debug, and then send us the log, that would be most helpful.
is there any more documentation on this so called bug? i found this post and only this post and that's it, virtually zero other mention
@Septanesium Are you using CMake Kits or CMake Presets?
@septanesium Does this issue still work in the most recent CMake Tools extension version?
@septanesium Please let us know if these issues still repro, for now, I'm going to close this issue because those commands no longer exist in the product.