Post

VS Code Extensions For Power BI Development and Administration

VS Code extension for Power BI Development and Administration

VS Code Extensions For Power BI Development and Administration

VS Code is a simple, powerful and highly customizable IDE. Features include syntax highlighting, intellisense, git version control, integrated terminal, and more. The Extension Marketplace offers additional languages and editor features. You can make your environment your own, by applying themes and setting up editor shortcuts and preferences.

Because of this, VS Code is the IDE most used by developers; as per the Stack Overflow 2023 Developer Survey.

Extensions

Here are subset of extensions I use for Power BI development, administration and automation.

Languages

LanguageVS Code Extension IDSyntax HighlightingIntellisense
TMDLanalysis-services.TMDL✔️
DAXjianfajun.dax-language✔️
MPowerQuery.vscode-powerquery✔️✔️
C#ms-dotnettools.csharp✔️✔️
Powershellms-vscode.powershell✔️✔️
Pythonms-python.python✔️✔️
YAMLredhat.vscode-yaml✔️

TMDL, DAX and M are used to review and update tabular models that have been decompiled to files (.pbip, pbitools, tabular editor). Powershell and C# for scripting using the analysis services libraries and cmdlets. Python and Powershell for scripting using the Power BI and Fabric REST APIs. YAML is used for developing GitHub/ADO pipelines.

Version Control

ExtensionVS Code Extension ID
Gitlenseamodio.gitlens
Git Graphmhutchie.git-graph

These extensions extend VS Code’s inbuilt git version control functionality. The features I use most are Inline blame annotation on rows, and On hover pop-up to show the details of commit.

Blame GitLens: In-line Blame

Blame Hover GitLens: On Hover Blame Details

Commit graph and GitGraph. Commit graph, gives you a graph of commits, branches and merges over time, although I prefer Git Graph for this as it is simpler and more compact.

Commit Graph GitLens: Commit Graph

Commit Graph Git Graph: Git Graph

This post is licensed under CC BY 4.0 by the author.