This is a helper package that automatically installs and updates a CMake Language Server for you.
cmake
is in the PATH
and Sublime Text can find it.This language server operates on views with the source.cmake
base scope.
The server is installed in the $CACHE/Package Storage/LSP-cmake
directory, where $CACHE
is the base data path of Sublime Text.
For instance, $CACHE
is ~/.cache/sublime-text
on a Linux system. If you want to force a re-installation of the server,
you can delete the entire $CACHE/Package Storage/LSP-cmake
directory or just reinstall the package. The installation is done through a virtual environment, using
pip. Therefore, you must have at least the python
executable installed and it must be present in your $PATH
.
Like any helper package, installation starts when you open a view that is suitable for this language server. In this
case, that means that when you open a view with the source.cmake
base scope, installation commences.
Configure the Python Language Server by accessing Preferences > Package Settings > LSP > Servers > LSP-cmake
.
This language servers provides a few basic services like hover info and formatting.