Runner

Run various scripts.

Usage

Type CTRL-SHIFT-R on script files.

Configuration

Add entry into runner.languageMap, keys should be known type on Visual Studio Code. runner.extensionMap matches end of the name of file.

{
  "runner.languageMap": {
    "foo": "/usr/bin/bar"
  },
  "runner.extensionMap": {
    "foo": "/usr/bin/bar"
  },
  "runner.shebangMap": {
    "^#!\\s*/usr/bin/python2": "python",
    "^#!\\s*/usr/bin/env python": "python",
    "^#!\\s*/usr/bin/python3": "python3",
    "^#!\\s*/usr/bin/env python3": "python3"
  }
}

If want to clear previous output, set "runner.clearPreviousOutput": true. want to ignore shebang line, set "runner.ignoreShebang": true`.

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)