tintoy / msbuild-project-tools-vscode

VS Code extension for MSBuild intellisense (including PackageReference completion).
MIT License
82 stars 16 forks source link
dotnet-core highlighting language-service msbuild vscode

MSBuild project file tools

An extension for VS Code that provides intellisense for MSBuild project files, including auto-complete for <PackageReference> elements.

The extension in action

The language service used by this extension can be found here: tintoy/msbuild-project-tools-server

Usage

File extensions

By default, the language service is automatically available for files with the following extensions:

If you want to use it with additional file types:

  1. Open the desired file.
  2. Change the language mode by pressing Ctrl-Shift-P (or Cmd-Shift-P on Mac) and choosing "Change Language Mode".
    associate language with file extension
  3. Choose "configure file association".
    associate language with file extension
  4. Choose language MSBuild.

Installation

You can install this extension from the VS marketplace, Open VSX or simply download the VSIX package for the latest release and install it by choosing "Install from VSIX" from the menu on the top right of the extensions panel.

Building from source

See BUILDING.md.

Design

See architectural overview for details (this is a work-in-progress; if you have questions, feel free to create an issue).

Limitations

Questions / bug reports

If you have questions, feedback, feature requests, or would like to report a bug, please feel free to reach out by creating an issue. When reporting a bug, please try to include as much information as possible about what you were doing at the time, what you expected to happen, and what actually happened.

If you're interested in collaborating that'd be great, too :-)