Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>BlockMLNew to Visual Studio Code? Get it now.
BlockML

BlockML

BlockML

|
2 installs
| (0) | Free
Language support for BlockML (BML) — syntax highlighting, diagnostics via language server, and file icons.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BlockML

Language support for BlockML (.bml) in Visual Studio Code and Cursor.

The extension is built entirely on the BlockML language server (@blockml/lsp). There is no XSD / XML schema integration.

Features

  • .bml language — file type, comments, and bracket matching
  • Syntax highlighting — position-based roles (framework vs domain vs composition) via semantic tokens, with a TextMate grammar as fallback. Token colors overlay your current theme.
  • Hover — type and documentation information from the language server
  • Syntax check — parse and validation errors via the language server (source: blockml)
  • Navigation — go to definition, peek definition, and find references (including Ctrl/Cmd-click)
  • Outline — document symbols in the Outline view
  • Format — format document via the language server
  • File icons — .bml icon in the explorer and editor tabs (language icon; works with your current file icon theme)

Autocomplete is not implemented yet.

Language server

The extension starts @blockml/lsp as a separate Node process (stdio). It currently provides hover, diagnostics, navigation, outline, and format. Semantic highlighting uses the same @blockml/lsp classifier inside the extension host (not an LSP round-trip). Completion is not available yet.

Requirements:

  • Open a workspace folder (the server uses workspaceFolders[0]).
  • Optionally configure the project via bom.config.json (srcDir, libraries).

Disable the server with the setting blockml.bml.enableLanguageServer. Disable semantic highlighting with blockml.bml.enableSemanticHighlighting. Trace LSP traffic with blockml.bml.trace.server.

Coming next

  • Autocomplete (completion)

License

Apache-2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft