Hi,
I’m new to sublime text and am trying to get setup to run code in Neuron, a neural simulation environment. Specifically, I’m trying to get output from .hoc files, a file type in Neuron that is executed as an interpreted language. Typically I can run a .hoc file from the command line with:
nrngui filename.hoc
given I’m in the current directory for that file. This will execute the file, show output and leave one in the hoc interpreter within the command line.
In sublime text I’ve created the following build-system file:
{
"shell_cmd": ["nrngui", "$file"],
"selector": "source.Neuron",
"file_regex": "^\\s*File \"(...*?)\", line ([0-9]*)"
}
Whenever I run this I get absolutely no output.
Note: I’ve added syntax highlighting (thank you Jordan Guerguiev on github) and I assumed that is what should be supplied to selector.