Skip to content

Instantly share code, notes, and snippets.

@larshb
Last active October 22, 2019 14:46
Show Gist options
  • Save larshb/76d5e7d6de80a5e47ee51628868d1a1a to your computer and use it in GitHub Desktop.
Save larshb/76d5e7d6de80a5e47ee51628868d1a1a to your computer and use it in GitHub Desktop.
VS Code problems matcher for Synplify
{
"version": "2.0.0",
"tasks": [
{
"label": "Synplify compile",
"type": "shell",
"command": "<compile-script which outputs .srr-logfile>",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"fileLocation": ["absolute"],
"severity": "error",
"source": "format",
"pattern": {
"regexp": "^@(.)[^\"]+\"([^\"]+)\":([\\d]+):([\\d]+)[^\\|]+\\|(.*)$",
"severity": 1,
"file": 2,
"line": 3,
"column": 4,
"message": 5,
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment