vscode-nushell-lang README
This extension provides editing and syntax highlighting support for Nushell, a data driven document language.
Features
- Syntax highlighting grammar
- Nushell theme that tries to match Nushell's coloring
Screenshot (v0.0.4)
With Nushell Color Theme With VSDark+ Color Theme
Known Issues
See our Github repository for active issues.
Regex Engine
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.
Build Process
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.
Help
We are happily accepting pull requests to make this better. :)