Skip to content

VS Code plugin for formatting CMake files with gersemi formatter

License

Notifications You must be signed in to change notification settings

JoyOfMadness/vscode-gersemi-format

Repository files navigation

Gersemi support for VS Code

vscode-gersemi-format is an extension for Visual Studio Code that adds integration for gersemi formatter for CMake files.

Features

  • Allows formatting CMake files via "Format Document" and "Format Selection" commands
  • Uses existing gersemi installation to do so
  • Allows adding custom parameters via settings
  • Source code for this extension can be found here https://github.com/JoyOfMadness/vscode-gersemi-format

Requirements

gersemi needs to be installed manually (with e.g. pip3 install gersemi).

See https://github.com/BlankSpruce/gersemi for more details.

Extension Settings

This extension contributes the following settings:

  • gersemi.programPath: Path to gersemi executable.
  • gersemi.currentWorkingDirectory: Allows to overwrite working directory for gersemi. The location of currently formatted file is used by default.
  • gersemi.programArgs: Optional program arugments which are passed to gersemi

Known Issues

None

Release Notes

0.0.1

  • Initial release

About

VS Code plugin for formatting CMake files with gersemi formatter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published