This extension allows the cross-platform editor SublimeText (http://www.sublimetext.com/) to provide Soar-specific functionality. This package provides the following:
- Automatic indentation
- Syntax coloring
- Code folding
- Production snippets that help you code faster
- The ability to run the Soar CLI from SublimeText if you have the SublimeREPL package installed
After installing Package Control, use the Command Palette (Ctrl+Shift+P) to select Install Package and then search for Soar Tools.
Files with the '.soar' extension are assumed to be Soar files and are highlighted accordingly. Code folding is also provided but is irregular at the moment.
The plugin highlights both Soar productions and other curly-braced sections, likesmem --add commands:
Production snippets help you code faster:
and SoarDoc snippets help you document faster:
SoarUnit Build Command
You can run SoarUnit on a single file or on an entire project as a build command (CTRL+B). See project Readme for setup details.
Soar REPL Integration
You can run the Soar CLI from SublimeText if you have the SublimeREPL package installed (see the project Readme for setup details). Highlighting included!
Suggestions or questions, patches and PR's are welcome. Speak your mind on the issues page!