Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>MesonNew to Visual Studio Code? Get it now.
Meson

Meson

mesonbuild

|
64,795 installs
| (7) | Free
Meson language support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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
  • Linting[^0]
  • Formatting[^1]
  • 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"

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.

[^0]: Requires an installation of mesonlsp or muon.

[^1]: Requires an installation of muon or meson >= 1.5.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft