Skip to content

VasiliyRyabtsev/vscode-quirrel

 
 

Repository files navigation

vscode-quirrel

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)

Setup

  • Run VS Code;
  • Open extension marketplace panel, find and install Quirrel language support extension;
  • Open settings window (Ctrl+<,>) and find Extensions/Quirrel section;
  • Setup path to the squirrel code runner Quirrel/Code Runner/File Name executable, with default value csq-dev. Note: you can also use name of the environmental variable, full path or short file name;
  • You are ready to go;

Some hints on usage

  • 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 press F12. 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;

References

Language and syntax highlighting

Repositories

About

VS Code extension for Quirrel language support

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages