This extension provides editing and syntax highlighting support for Nushell, a data driven document language.
- Syntax highlighting grammar
- Nushell theme that tries to match Nushell's coloring
With Nushell Color Theme With VSDark+ Color Theme
See our Github repository for active issues.
VSCode uses a regular expressions that is based on Ruby for syntax highlighting. This is a good site to test and try out these regular expressions.
We pretty much followed these instructions for building this extension. And this link for packaging the extension.
To summarize:
- npm install -g yo generator-code
- yo code
- chose
New Language Support
and filled out the rest of the questions - npm install -g vsce
- update the readme and package.json
- vsce package
- code --install-extension vscode-nushell-lang-0.0.2.vsix or alternatively you can do ctrl/cmd-shift-p Extensions:Install From VSIX...
If you have all these tools already installed you should be able to clone this repo and just do a vsce package
to get a vsix file that you can install in vscode.
We are happily accepting pull requests to make this better. :)