Last active
November 13, 2016 07:43
-
-
Save gdm85/450512fe14244905ea481d35703a47db to your computer and use it in GitHub Desktop.
D-Lang IDE with Atom: config.cson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## main article: https://medium.com/@gdm85/atom-editor-building-with-f5-edc228034ec0 | |
"*": | |
"atom-shell-commands": | |
commands: [ | |
{ | |
name: "make-project" | |
command: "make" | |
options: | |
cwd: "{ProjectDir}" | |
matchs: [ | |
"^(?<file>[\\/0-9a-zA-Z\\._\\\\:]+)\\((?<line>\\d+),(?<col>\\d+)\\):" | |
] | |
}, | |
{ | |
name: "run-project" | |
command: "make" | |
arguments: [ | |
"run" | |
] | |
options: | |
cwd: "{ProjectDir}" | |
matchs: [ | |
"^(?<file>[\\/0-9a-zA-Z\\._\\\\:]+)\\((?<line>\\d+),(?<col>\\d+)\\):" | |
"^(?<file>[\\/0-9a-zA-Z\\._\\\\:]+):(?<line>\\d+)" | |
"^[^@]+@(?<file>[\\/0-9a-zA-Z\\._\\\\:]+)\\((?<line>\\d+)\\):" | |
] | |
}, | |
{ | |
name: "dfmt-run" | |
command: "sh" | |
arguments: [ | |
"-c", | |
"dfmt --inplace '{FilePath}' && make run" | |
] | |
options: | |
cwd: "{ProjectDir}" | |
matchs: [ | |
"^(?<file>[\\/0-9a-zA-Z\\._\\\\:]+)\\((?<line>\\d+),(?<col>\\d+)\\):" | |
"^(?<file>[\\/0-9a-zA-Z\\._\\\\:]+):(?<line>\\d+)" | |
"^[^@]+@(?<file>[\\/0-9a-zA-Z\\._\\\\:]+)\\((?<line>\\d+)\\):" | |
] | |
}, | |
{ | |
name: "dfmt-build" | |
command: "sh" | |
arguments: [ | |
"-c", | |
"dfmt --inplace '{FilePath}' && make" | |
] | |
options: | |
cwd: "{ProjectDir}" | |
matchs: [ | |
"^(?<file>[\\/0-9a-zA-Z\\._\\\\:]+)\\((?<line>\\d+),(?<col>\\d+)\\):" | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment