-
Copy
jcsh
directory to%USERPROFILE%\.vscode\extensions
. -
Restart Visual Studio Code.
-
Configure a new task in your tasks.json file (Terminal>Configure tasks). Don't forget to change the base path for JCShell twice.
{ "type": "shell", "label": "Run .jcsh script", "command": "d:/tools/jcshell/5.17/jcshell.bat", "args": [ "-v", "-x", "-d", "-f", "${file}" ], "group": { "kind": "build", "isDefault": true }, "presentation": { "reveal": "always", "focus": false, "echo": true, "showReuseMessage": false, "panel": "new", "clear": false, }, "options": { // very important: without this scripts won't run as expected ie. won't print apdus "cwd": "d:/tools/jcshell/5.17" }, "runOptions": {}, "problemMatcher": [] }
-
Open a script .jcsh and run it from Terminal > Run task.