lux-colorizer, Lux Syntax Highlight VS Code Extension
Lux
is a universal system-level test tool written in Erlang/OTP by Håkan
Mattsson and other contributors. Based on
expect-like pattern, Lux
offers
simplified syntax, regular expressions support, switching between multiple
concurrent sessions, extensive logging, post mortem analysis, debugging, and
more. Testing with Lux
can be a part of more valuable processes, like
developing new services for Cisco NSO, CI/CD pipeline testing, troubleshooting,
etc. It is well known for test automation for developing Cisco Network Service
Orchestrator (NSO) with 4500 test cases per run.
Some explanations "Why Lux
" can be found here.
For more on Lux
features, please check
the official documentation.
How to install the extension
You may install the extension via VS Code Quick Open (Ctrl/Cmd+P), paste the
following command, press enter, and click install.
ext install andreygrechin.lux-colorizer
Also, you may install it via VS Code
marketplace by searching the name
andreygrechin.lux-colorizer
.
How to use the extension
After the installation, the extension will be enabled automatically.
To use snippets, start typing a meta statement, like [loop]
, and VS Code will
offer possible options. Use TAB to autocomplete a statement and jumping between
input fields.
Useful References
- Lux
- Lux repo
- Lux documentation
- How to install Lux (Note: Lux doesn't support Windows, use WSL)
- TextMate
- TextMate Language Grammars
- Oniguruma regexp syntax
- Oniguruma flavor regexp online editor
- RegEx101 regexp tester
- More on understanding TextMate
- https://flight-manual.atom.io/hacking-atom/sections/creating-a-legacy-textmate-grammar/
- https://www.apeth.com/nonblog/stories/textmatebundle.html
- https://gist.github.com/Aerijo/b8c82d647db783187804e86fa0a604a1
- https://gist.github.com/DamnedScholar/622926bcd222eb1ddc483d12103fd315
- Visual Studio Code Extensions
- Overview
- Syntax Highlight Guide
- Semantic Highlight Guide
- Snippets