vscode-gersemi-format is an extension for Visual Studio Code that adds integration for gersemi formatter for CMake files.
- Allows formatting CMake files via "Format Document" and "Format Selection" commands
- Uses existing
gersemiinstallation 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
gersemi needs to be installed manually (with e.g. pip3 install gersemi).
See https://github.com/BlankSpruce/gersemi for more details.
This extension contributes the following settings:
gersemi.programPath: Path togersemiexecutable.gersemi.currentWorkingDirectory: Allows to overwrite working directory forgersemi. The location of currently formatted file is used by default.gersemi.programArgs: Optional program arugments which are passed togersemi
None
- Initial release