Skip to content

Instantly share code, notes, and snippets.

@rudvfaden
Last active February 28, 2022 07:23
Show Gist options
  • Save rudvfaden/b76383afd464d9d3f6620d09ea65fcd1 to your computer and use it in GitHub Desktop.
Save rudvfaden/b76383afd464d9d3f6620d09ea65fcd1 to your computer and use it in GitHub Desktop.
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run SAS",
"type": "shell",
"linux": {
"command": "<sas startup scriptZ>.sh",
"args": [
"${file}"
]
},
"problemMatcher": [
{
// The problem is owned by the cpp language service.
"owner": "run SAS",
// The file name for reported problems is relative to the opened folder.
"fileLocation": ["relative", "${workspaceFolder}"],
// The actual pattern to match problems in the output.
"pattern": [
{
"regexp": "^(.*)$",
"file": 1
},
{
"regexp": "^(ERROR|WARNING|RULE):? ((.+?)\r?\n(.+))$",
"line": 0,
"severity": 1,
"message": 2,
"loop":true
}
],
}
],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment