gactar-vscodegactar-vscode is a plugin for VS Code for working with gactar's amod files. It implements syntax highlighting, provides snippets to quickly create an amod file or add productions, and allows you to run gactar directly through VS Code. In order to run amod files, gactar needs to be installed and you will need to add the path to the installation in your VS Code gactar settings (see "Installation Folder" in the Configuration section below). FeaturesSyntax highlightingProvides syntax highlighting for .amod files. SnippetsProvides snippets when editing amod files:
All Available Snippets
Run Code Through gactarIf you have gactar installed, you can point VS Code at your installation and run your amod files through gactar from VS Code. You can access the command through VS Code's Command Palette: If an example is selected in the editor, it will be used as the initial goal. The results will show up in VSCode's Output Panel. Restart The ServerIf you need to restart the gactar server, you can run the command Highlight ProblemsAfter running amod files, any errors will be reported in the Problems Panel and they will be highlighted in the code. ConfigurationYou can set your configuration using the VS Code Settings window: Or you can set them directly in your
gactar ReferenceI wrote up a technical note about gactar which includes more information about the amod format. It may be found on ResearchGate. Title: gactar: A Tool For Exploring ACT-R Modelling |