Skip to content
Thomas Hahn edited this page Dec 12, 2024 · 3 revisions

The CMake extension is very simple. It provides basic syntax highlighting for CMake files, code completion, etc.

Install the extension

To install/enable it,

  • Go to Extensions in the activity bar
  • Search for CMake
  • Install/enable it (see below)
cmake_ext

Features

Once it is installed/enabled, syntax highlighting should work for CMake files:

cmakelists_with_hl

You can also hover over functions and variables to get more information about them or use the code completion feature by start typing a CMake specific name.

In the next section, we will install the extension CMake Tools.