You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article is for developers who want to contribute to the CMake Tools open source project.
Build the CMake Tools extension
As with most VS Code extensions, you'll need Node.JS installed. We use yarn to compile the code.
The process is:
Open the repo in VS Code
Press F5 to build and run the extension
Coding guidelines
Formatting
Code is formatted using clang-format. We recommend you install the
Clang-Format extension.
Linting
We use eslint for linting our sources.
You can run eslint across the sources from a terminal or command prompt by running yarn run lint.
Warnings from eslint show up in the Errors and Warnings pane and you can navigate to them from inside VS Code.
To lint the source as you make changes, install the eslint extension.