Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Xtext LanguageNew to Visual Studio Code? Get it now.
Xtext Language

Xtext Language

GrammarCraft

|
3,134 installs
| (0) | Free
Xtext Grammar Specification Language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Xtext Syntax Highlighting Support for VS Code

This is a language extension for the Xtext grammar specifcation language.

Features

Currrently the following features are supported:

  • syntax highlighting
  • folding
  • auto bracket closing and insertion
  • snippets
  • for file-local definitions only:
    • hover information
    • auto completion
    • jumpt to definition

Known Issues

  • externals definitions from model import statements and with statements (grammar inheritance) cannot be jumped to
  • undefined file-local definitions are not marked as errors

Release Notes

  • valuable for Xtext grammar navigation and reading
  • slightly valuable for grammar writing
  • no code generation take place at all (use Gradle or Maven for that)

Development Hints

This extension was initially created using VS Code's Yeoman templates, running yo code and selecting the New Language option.

The Textmate "grammar" was developed using the syntax highlighting grammer edior Iro and the .plist/.json transformation tool http://json2plist.sinaapp.com/.

For working on the TextMate "grammar" please consider using the Iro specifcaton file ../Xtext.iro.

The language server is created using the Xtext language creation framework itself. The Xtext grammar for that was taken from the eclipse/xtext-core project. Only the grammar name was adapted to avoid bootstrapping compilation problems.

Anyone to take over pushing this extension forward making it more valuable is wellcome. I'm not planing to invest a lot more time, unfortunately.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft