Skip to content

bryan-ente/vscode-protoml

Repository files navigation

ProtoML Language Support

VS Code language support for .pml files with syntax coverage aligned to ProtoML 1.3.1.

Features

  • Syntax highlighting for block commands, inline commands, IDs, task markers, comments and headings
  • Highlighting for @macro, @tags_import, @new_macro, @@e=... and @@macro=...
  • Support for both ID assignment styles used in ProtoML: =id=value and =id:value
  • Autocompletion for common ProtoML sections and inline constructs
  • Built-in linting for common ProtoML mistakes such as unknown commands, duplicate IDs and missing references

Supported Syntax

@tags_import "tags.pml"
@macro warn_box "macros/warn_box.pml"

@date:21.05.2025
@participants
=pt1=John Doe,jdoe,jdoe@example.com
=pt2=Jane Doe

@subjects
=0:Project Status
=1:Security

@tasks
-[ ] Renew SSL certificate @ptp=pt1 =1 @tag=important

@notes
- PDF export works -b very well -b-

@meeting
# Meeting Title: @@e=0
## Important Topic
@@macro=warn_box:title=Important;text=@@e=1

A larger end-to-end showcase file is available at examples/highlight-showcase.pml.

Development

npm install
npm run compile

Press F5 in VS Code to launch an Extension Development Host.

Packaging

npx vsce package

License

GNU GPL v3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors