techartorg / MXSPyCOM

A modern version of MXSCOM, to allow for editing & execution of 3ds Max MaxScript and Python files from external code editors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VsCode Task integration problem

elpie89 opened this issue · comments

I had some problem creating the task in vscode.
the task version is now 2.0.0 and 0.1.0 syntax is deprecated.
This is my actual json :

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Execute Script in 3ds Max",
            "type": "shell",
            "command": "C:/Program Files/MXSPyCOM/MXSPyCOM.exe",
            "args": ["-s","${file}"],
            "presentation": {
                "reveal": "never",
                "panel": "new"
            },
            "problemMatcher": []
        }
    ]
} 

The documentation has been updated to show the v2.0.0 syntax for VS Code tasks.