Skip to content

JCShell integration with Visual Studio Code: running jcsh scripts from VS Code, jcsh language definition for VS Code

Notifications You must be signed in to change notification settings

lmiguelmh/jcshell-for-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

INSTRUCTIONS TO CONFIGURE JCSHELL SCRIPTING LANGUAGE ON VISUAL STUDIO CODE

  1. Copy jcsh directory to %USERPROFILE%\.vscode\extensions.

  2. Restart Visual Studio Code.

  3. 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": []
    }
    
  4. Open a script .jcsh and run it from Terminal > Run task.

Sources

About

JCShell integration with Visual Studio Code: running jcsh scripts from VS Code, jcsh language definition for VS Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published