Skip to content

Instantly share code, notes, and snippets.

@jbtule
Created February 17, 2017 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbtule/7dae856d7a2da939e5aa92a01ba98990 to your computer and use it in GitHub Desktop.
Save jbtule/7dae856d7a2da939e5aa92a01ba98990 to your computer and use it in GitHub Desktop.
vscode task.json for Harbour (use a build.hbp)
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"tasks":[
{
"taskName": "Build",
"command": "hbmk2",
"isShellCommand": true,
"isBuildCommand": true,
"echoCommand" : true,
"args": ["build.hbp"],
"showOutput": "always",
"problemMatcher": [
{
"fileLocation": "absolute",
"pattern": {
"regexp": "^(\\w:\\\\.*)\\((\\d+)\\) (Error|Warning) (.*)$",
"file": 1,
"line" : 2,
"severity": 3,
"message": 4
}
},
{
"fileLocation": [ "relative", "${workspaceRoot}" ],
"pattern": {
"regexp": "^(.*)\\((\\d+)\\) (Error|Warning) (.*)$",
"file": 1,
"line" : 2,
"severity": 3,
"message": 4
}
},{
"fileLocation": ["relative", "${workspaceRoot}"],
"pattern": {
"regexp": "^.*\\.o:(.*).c:\\(.*\\): (.*)$",
"file": 1,
"message": 2
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment