A Visual Studio Code extension that adds language support for the Tabular Model Definition Language (TMDL), a YAML-like language that allows developers to define and manage their Power BI Semantic Models.
Features
Semantic Highlighting: Improves TMDL readability with context-aware coloring
Error Diagnostics: Highlights errors that will cause TMDL serialization to fail
Auto Complete: Offers intelligent TMDL token completion suggestions
Code Formatting: Automatically organizes TMDL code for enhanced readability and consistency
Hover: Provides detailed context and information for TMDL tokens on mouse hover
Code Actions: Provides quick fixes and refactoring options for common TMDL issues
Breadcrumbs: Displays the hierarchical structure of TMDL code for easy navigation
Power Query Highlighting: Enhances readability of Power Query embedded within TMDL
Power Query Diagnostics: Provides syntax error identification for Power Query expressions within TMDL
Power Query Formatting: Enhanced formatting for embedded Power Query expressions within TMDL
Power Query Auto Complete: Offers context-aware Power Query tokens and functions suggestions
Error Diagnostics Localization: Localizes error messages based on the user's language setting
With more coming soon!
Note
Users must update their locale setting separately for Power Query in the VS Code extension to enable localization.
Limitations
Currently, the extension on web supports only syntax highlighting. Additional features will be added in future releases.
The Power Query Autocomplete feature may occasionally display 'No suggestion' in uncommon scenarios.