Quirrel language support extension. Based on https://github.com/mepsoid/vscode-s-quirrel
Features:
- Syntax highlighting
- Syntax check and static anaysis
- Code navigation (Go To Declaration)
- Run VS Code;
- Open extension marketplace panel, find and install
Quirrellanguage support extension; - Open settings window (Ctrl+<,>) and find Extensions/Quirrel section;
- Setup path to the squirrel code runner
Quirrel/Code Runner/File Nameexecutable, with default valuecsq-dev. Note: you can also use name of the environmental variable, full path or short file name; - You are ready to go;
- Start typing identifier name finishing with
=symbol. If this key is known tou will get list of appropriate substitution values; - Set cursor to
require()method argument with module path and pressF12. If module found it will be opened in new tab; - Type
require("with some known characters of module file name and press Ctrl+ to get list of paths to suitable files from workspace; - Save document to run code checker. All found code errors will be displayed at common Problems panel;
- Create or open document from disk and press Ctrl+ to run it. Found compile time or run time errors will be displayed at Problems pabel. All output will be displayed and highlighted at Output panel;