This extension provides support for Meson in Visual Studio Code. This language grammar was based on the grammar found in the atom extension from Patrick Griffis, but has since been added onto to support more features, including code from the VSCode grammar for Python.
Meson logo by Jussi Pakkanen, licensed for use by this project. Icons from the Material Design Icons project.
- Syntax Highlighting
- Automatic Task Provider
- Code Snippets
- Linting1
- Formatting2
- Generate environment file to be used in launch.json:
"envFile": "${workspaceFolder}/${config:mesonbuild.buildFolder}/meson-vscode.env"
See Meson devenv - Configure Intellisense to use the
compile_commands.json
generated by Meson - Provide an Intellisense C/C++ configuration to use the
meson-info
introspection files:"C_Cpp.default.configurationProvider": "mesonbuild.mesonbuild"
* - requires an installation of muon.
If you come from a previous installation, please make sure you are on the mesonbuild.mesonbuild extension. There are 3 variants/versions of this extension on the store, and only that one is released from this repository.
Footnotes
-
Requires an installation of Swift-MesonLSP or muon. ↩
-
Requires an installation of muon. ↩