Skip to content

Instantly share code, notes, and snippets.

@seesharper
Last active August 29, 2015 14:23
Show Gist options
  • Save seesharper/2150f395883a7d6b9b82 to your computer and use it in GitHub Desktop.
Save seesharper/2150f395883a7d6b9b82 to your computer and use it in GitHub Desktop.
Enables scriptcs files to be compiled and executed within Visual Studio Code
// A task runner that calls the scriptcs compiler (scriptcs) and
// compiles the current opened file.
{
"version": "0.1.0",
"command": "scriptcs",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
"showOutput": "silent",
// args is the current file to compile
"args": ["${file}"],
// use the standard tsc problem matcher to find compile problems
// in the output.
"problemMatcher": "$msCompile"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment