Skip to content

Instantly share code, notes, and snippets.

@llaughlin
Last active April 28, 2016 11:03
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llaughlin/16305f0b91356e93a1c4 to your computer and use it in GitHub Desktop.
Save llaughlin/16305f0b91356e93a1c4 to your computer and use it in GitHub Desktop.
VSCode+Golang
{
"version": "0.1.0",
"command": "go",
"args": ["build"],
"isShellCommand": true,
"showOutput": "silent",
"problemMatcher": {
"owner": "go",
// The file name for reported problems is relative to the current working directory.
"fileLocation": ["relative", "${cwd}"],
// The actual pattern to match problems in the output.
"pattern": {
"regexp": "^(.+)\\:(\\d+)\\:(.+)$",
"file": 1,
"location":2,
"message": 3
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment