Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.76 KB

File metadata and controls

42 lines (26 loc) · 1.76 KB

Welcome to your VS Code Extension

What's in the folder

  • This folder contains all of the files necessary for the extension.
  • package.json - this is the manifest file in which the language support is declared and the location of the grammar files are defined.
  • syntaxes/xxx.tmLanguage.json - this is a Text mate grammar file that is used for tokenization.

Get up and running straight away

  • Press F5 to open a new window with your extension loaded.
  • Create a new file with a file name suffix matching your language.
  • Verify that syntax highlighting works and that the language configuration settings are working.

Make changes

  • You can relaunch the extension from the debug toolbar after making changes to the files listed above.
  • You can also reload (Ctrl+R or Cmd+R on Mac) the VS Code window with your extension to load your changes.

Add more language features

Install the extension

  • To start using the extension with Visual Studio Code copy it into the <user home>/.vscode/extensions folder and restart Code.
  • To share the extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.

Publish the extension

VS Code Marketplace

  • Install vsce by running npm install -g @vscode/vsce.
  • Run vsce package from the command line.
  • Run vsce publish and open https://marketplace.visualstudio.com and publish your extension.

Open VSX

  • Install ovsx by running npm install -g ovsx.
  • Run npx ovsx publish python-docstring-highlighter-<version>.vsix -p <token>.

See https://github.com/eclipse/openvsx/wiki/publishing-extensions for more information.