This Visual Studio Code extension provides syntax highlighting for Power Automate Desktop blocks.
- Syntax highlighting for Power Automate Desktop scripts
- Supports keywords, functions, variables, strings, numbers, booleans, operators, comments, and embedded JSON blocks
- Recognizes
.powerautomatefile extension
- Download or clone this repository.
- Open the folder in Visual Studio Code.
- Press
F5to launch an Extension Development Host with the syntax highlighting enabled.
- Open any
.powerautomatefile in VS Code to see syntax highlighting. - The extension automatically applies highlighting based on the defined grammar.
- Keywords:
LOOP,IF,THEN,END,EXIT,WAIT - Functions: Any alphanumeric or dot-prefixed identifier at the start of a line
- Variables: Alphanumeric identifiers followed by a colon (e.g.,
varName:) - Strings: Single, double, and triple quoted strings
- Numbers: Integers and decimals
- Booleans:
True,False - Operators:
=> - Comments: Lines starting with
# - JSON Blocks: Content inside
{ ... }is highlighted as JSON
Feel free to submit issues or pull requests on GitHub.
This project is licensed under the MIT License. See LICENSE.md for details.