|
Prefix | Name |
---|---|
amod | Insert basic amod template (full file) |
~~m | Insert amod model section |
~~c | Insert amod config section |
~~i | Insert amod init section |
~~p | Insert amod productions section |
prod | Insert blank amod Production |
Run Code Through gactar
If 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 Server
If you need to restart the gactar server, you can run the command gactar: Restart Server
.
Highlight Problems
After running amod files, any errors will be reported in the Problems Panel and they will be highlighted in the code.
Configuration
You can set your configuration using the VS Code Settings window:
Or you can set them directly in your settings.json
file:
"gactar.installationFolder"
(required to run gactar) - Path to your gactar installation (folder containing the gactar executable)."gactar.framework"
- Which framework to run. Allowed:ccm
,pyactr
,vanilla
, orall
."gactar.intermediateFolder"
- Path to store intermediate files (the generated code for each framework) when running models. If empty, it will create a folder called 'gactar-temp' in your gactar installation.
gactar Reference
I 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