Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Service Definition Language (SDL) Syntax HighlightingNew to Visual Studio Code? Get it now.
Service Definition Language (SDL) Syntax Highlighting

Service Definition Language (SDL) Syntax Highlighting

marcelsud

|
4 installs
| (0) | Free
Syntax highlighting for Service Definition Language (SDL) v0.2
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SDL Language Support

Syntax highlighting for Service Definition Language (SDL) v0.2.

Features

  • Highlights SDL keywords (package, import, type, enum, service, calls, emits, consumes, produces), primitives, annotations, unions/optionals/arrays, arrows and punctuation.
  • Supports line comments //, doc comments ///, and block comments /* ... */.
  • Recognizes enum variants and type names with a distinct scope.

Usage

  • Install the extension and open any .sdl file; VS Code switches to the SDL language mode automatically.
  • Try the sample in highlight.sdl to see all tokens.

Development

  • Run npm install.
  • Launch extension debug: press F5 in VS Code.
  • Package locally: vsce package and install via code --install-extension <file>.vsix.

Release Notes

0.2.0

  • Adds highlight for calls/emits and block comments; description updated to SDL v0.2.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft