vscode-nushell-lang VSCode extension
This extension for VSCode provides editing and syntax highlighting support for Nushell, a data-driven document language.
- Syntax highlighting grammar for Nushell scripts (
- Nushell theme that tries to match Nushell's coloring
With Nushell-Dark Color Theme
With Nushell-Light Color Theme
See our Github repository for active issues.
VSCode uses a regular expressions engine 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, the steps were:
npm install -g yo generator-code
- choose "New Language Support" and fill out the rest of the questions
npm install -g vsce
- update the
code --install-extension vscode-nushell-lang-0.0.2.vsix
(Alternatively, you can do Ctrl/Cmd-Shift-P and type "Extensions:Install From VSIX...")
If you have all these tools already installed, you should be able to clone this repo and just run
vsce package to get a
.vsix file that you can install in vscode.
We are happily accepting pull requests to make this better. :)