tensorchord / vscode-envd

vscode extension for envd
https://marketplace.visualstudio.com/items?itemName=tensorchord.vscode-envd
Apache License 2.0
2 stars 4 forks source link

feat: Implement envd tmlanguage.json #1

Closed gaocegege closed 2 years ago

gaocegege commented 2 years ago
  • package.json - this is the manifest file in which you declare your language support and define the location of the grammar file that has been copied into your extension.
  • syntaxes/envd.tmLanguage.json - this is the Text mate grammar file that is used for tokenization.
  • language-configuration.json - this is the language configuration, defining the tokens that are used for comments and brackets.

tmlanguage is the grammar that vscode used to support new langs.

We can refer to https://github.com/bazelbuild/vscode-bazel/tree/master/syntaxes

gaocegege commented 2 years ago

https://code.visualstudio.com/api/language-extensions/language-server-extension-guide We need to implement a LSP server for envd, too.