vs.language.cmake
vs.language.cmake copied to clipboard
Popup message spam
I am getting spammed by "The "cmake" command is not found in PATH. Install it or use cmake.cmakePath
in the workspace settings to define the CMake executable binary."
I don't care to use the editor as a make system so having to click "close" every few seconds is rather annoying when look at a cmake file.
Hi, could you give me more information about your system ?
This happens on any windows system where cmake is not installed or in PATH. If you just want to use the extension for syntax highlighting then this problem is really annoying.
+1 on this (running on Windows), this is really annoying. I don't want to install CMake on Windows, I just want syntax highlighting.
Same for me, on my Linux box as well.
Is there an option to disable the calls to cmake?
I've found that as a workaround, overriding the path in the preferences:
"cmake.cmakePath": "",
Prevents the popups, although looking at the debug console, the extension is still trying to call cmake, just that this time, the empty path causes it to error out before it can display the popup messages.
+1, completion doesn't seem to work without it either.. making this extension useless.
The CMake is required by design. The CMake exécutable is used to provide all existing commands, etc of the current installed version. That make you a chance to discover New commands and make the completion list always uptodate. I could disable the warning, but the completion willl not work until the extension embed a json generated from a specific version of CMake(what I would avoid when I began to write the extension... )
Hi @twxs. I appreciate your design choice, but on my system CMake is not installed where I'm editing (running vscode). For me, CMake runs in a docker container that builds my software. So I don't think vscode will be able to peek inside my docker image to see what version of cmake is in there. Really I just want syntax highlighting, as @parkjam says. I feel like I can live without completion.
Do you endorse the path "" workaround suggested by @jtanx or not? And if not, then what can be done to make it work with the version of cmake that runs in my toolchain docker container?
any news on this issue?
I don't want to run CMake, I don't want command completion, I just want syntax highlighting. The workaround described has no effect.