Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mesonbuild/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"

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 or meson >= 1.5.0

AltStyle によって変換されたページ (->オリジナル) /