13

The VSCode documentation contains details on how to create new colorizers using .tmLanguage files. The Monaco editor which VSCode uses has support for defining syntax highlighters using the JSON-based Monarch format, but I can't see how to use Monarch for defining syntaxes in VSCode extensions.

Is there a way to define a new VSCode syntax using the Monarch format rather than textmate style language files?

ajshort
  • 3,684
  • 5
  • 29
  • 43

1 Answers1

4

No, VSCode currently only supports the .tmLanguage format. To quote one of the team members in #216:

First we had Monarch support as well, but before the API deadline decided to go fully for text mate to keep the API simple.

Gama11
  • 31,714
  • 9
  • 78
  • 100