I am new to atom editor. I was wondering if by a single command I can directly run the file in the command prompt?
For example in Sublime Text 3, I made a custom Build system where I wrote these lines
{
"cmd": ["python", "$file"],
"file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
"selector": "source.python",
"target": "console_exec"
}
Now just by ctrl+b
the cmd opens up and the codes executes.
How can I do this in atom?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…