techartorg / MXSPyCOM

A modern version of MXSCOM, to allow for editing & execution of 3ds Max MaxScript and Python files from external code editors.
MIT License
176 stars 23 forks source link

VsCode Task integration problem #5

Closed elpie89 closed 5 years ago

elpie89 commented 5 years ago

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": []
        }
    ]
} 
JeffHanna commented 5 years ago

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