Skip to content

cskeogh/vscode-meson

 
 

Repository files navigation

Meson for Visual Studio Code

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.

Features

  • 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.

New Extension ID

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

  1. Requires an installation of mesonlsp or muon.

  2. Requires an installation of muon.

About

Meson for VisualStudio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.9%
  • Python 2.0%
  • Shell 0.1%