This Visual Studio Code extension provides IntelliSense for the CROBOTS programming language.
CROBOTS is a programming game made in 1985 by Tom Poindexter, where players code robot control programs whose job is to seek out and destroy other robots. Check out the home and the manual of this little gem of history.
Features
Syntax highlighting
Document symbols: hit Ctrl+Shift+O to display the list of symbols defined in the program
Go-to definition: Ctrl+Click or F12 on a symbol to go to its definition
References view: hit Shift+F12 on a symbol to view all its occurrences
Inline suggestions: context-aware autocompletion for keywords, local variables and intrinsic functions
Variable renaming: hit F2 on a symbol to rename all its occurrences
Diagnostic information: get compile errors and warnings about your robot in the editor and in the Problems Panel (shortcut: Ctrl+Shift+M)
Code actions: quickly extract expressions in variables, fix undeclared variables
Intrinsic function docs: get signature and hover help for instrinsic functions
These features are available as soon as you open a file with the .r or .robot extension.
Dev notes
The language features are powered by a chevrotain parser written in TypeScript. Issues and pull requests are welcome.