-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Labels
Description
Brief Issue Summary
After adding any folder1 to "cmake.additionalKits"
(e.g. "cmake.additionalKits": [ "C:\\TEMP" ]
) and restarting VSCode:
command 'cmake.build' not found
command 'cmake.selectConfigurePreset' not found
command 'cmake.selectActiveFolder' not found
Or in other words:
command 'cmake.*' not found
CMake Tools Diagnostics
command 'cmake.logDiagnostics' not found
🙂
Debug Log
[main] Safe constructing new CMakeTools instance
[variant] Constructing VariantManager
[main] Constructing new CMakeTools instance
[main] Starting CMakeTools second-phase init
[variant] Loaded new set of variants
[main] CMakeTools instance initialization complete.
[kit] Reading kits file C:\Users\me\AppData\Local\CMakeTools\cmake-tools-kits.json
[kit] Successfully loaded 16 kits from C:\Users\me\AppData\Local\CMakeTools\cmake-tools-kits.json
[kit] Not reading non-existent kits file: c:\Projects\proj1\ctest\.vscode\cmake-kits.json
[kit] Reading kits file C:\TEMP
Ext host log:
[exthost] [error] Activating extension ms-vscode.cmake-tools failed due to an error:
[exthost] [error] Error: EISDIR: illegal operation on a directory, read
1 I know it's wrong to specify a folder in cmake.additionalKits
, the point of this bug report is that it would be nice if this was reported accordingly instead of silently crashing.