Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Power Query / M LanguageNew to Visual Studio Code? Get it now.

Power Query / M Language

Microsoft

|
5,009 installs
| (4) | Free
Language service for the Power Query / M formula language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Power Query language service for VS Code

Provides a language service for the Power Query / M formula language with the following capabilities:

  • Suggestions / Auto complete (Based on M standard library functions, and keywords)
  • Parameter hints
  • Hover
  • Code formatting
  • Syntax validation

Now available in the Visual Studio Code Marketplace.

How to build

  1. install dependencies:
npm install
  1. build all packages:
npm run build

How to run command line tests

cd server
npm run test

There is also a UI test suite that can be run from VS Code.

Generate vscode extension

Install the vsce CLI utility.

npm install --global vsce

Generate vsix package:

vsce package

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft