SPICE syntax highlighting refenence leoheck/sublime-spice TextMate rules.
Other useful rules reference see: 1995parham/vim-spice
Snippets reference: bzisjo/vscode-spice-support
Seeing SPICE in VSCode Marketplace
- Comment toggle
- Syntax Highlighting of
- Comments
*|;|& - Circuits Elements
R|...V|...X|... - Expressions
abs()|..."" - SPICE Commands
.subckt|....tran|...
- Comments
- Snippets
- Basic
.ac/.dc/.tran .meas rise/fall/delay
- Basic
- Divide SPICE Dot Commands into:
- Hierarcy Block
.end|ends|lib|subckt - Dot Schematic Command
.backanno|global|include|machine|model|net| - Dot Simulation Run
.ac|dc|four|ic|noise|op|tf|tran - Dot Simulation Parameter
.func|ferret|loadbias|meas|nodeset|options|param|save|savebias|step|temp|wave
- Hierarcy Block
- Determine name--string of
./syntaxes/SPICE.tmlanguagefor mostly used Themes. (reference Themes' .json file'sscope&colors) - Add support for non-
Monokaicolor themes.- support for
Dark+ (default dark)
- support for
- Add more snippets support
- Basic
.ac/.dc/.tran -
.meas rise/fall/delay
- Basic
- Fork it ( https://github.com/lxTHU/vscode-spice )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
[0.1.0]
- Add Basic Snippets Support. (ref bzisjo's great work)
[0.0.6]
- Fix toogle comment bug: you can use
Ctrl+/to add*comment toggle.