SPICE syntax highlighting refenence leoheck/sublime-spice TextMate rules.
Other useful rules reference see: 1995parham/vim-spice
Seeing SPICE in VSCode Marketplace
- Syntax highlighting of
- Comments
*|;|&
- Circuits Elements
R|...
V|...
X|...
- Expressions
abs()|...
""
- SPICE Commands
.subckt|...
.tran|...
- Comments
- 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.tmlanguage
for mostly used Themes. (reference Themes' .json file'sscope
&colors
) - Add support for non-
Monokai
color themes.- support for
Dark+ (default dark)
- support for
- Add snippets support
- 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