Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CMake HighlightNew to Visual Studio Code? Get it now.

CMake Highlight

zchrissirhcz

|
2,858 installs
| (1) | Free
CMake language support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CMake Syntax Highlighting

This extension provides CMake syntax highlighting for Visual Studio Code.

screencast

Features

  • Colorization
  • Completion Lists

completion

  • Code comments

comment

  • Snippets

find_package

include

  • Quick Help

tooltip

  • Access To Online Help

Options

The following Visual Studio Code settings are available for the Cmake extension. These can be set in user preferences (cmd+,) or workspace settings (.vscode/settings.json).

{
    "cmake.cmakePath": "/path/to/cmake"
}

Commands

  • CMake: Online Help to go to the CMake online documentation (according to the current cmake version).

Local build

git clone https://github.com/zchrissirhcz/vscode-cmake-highlight.git
cd vscode-cmake-highlight

npm install -g vsce
npm install typescript -g
npm install
...
vsce package # generate the .vsix file
<reference lib="es2015" />

to

<reference lib="es2015" >

Acknowledgements

This extension is based on CMake For VisualStudio Code.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft