https://i.ytimg.com/vi/sYi1CtKdkow/hqdefault.jpg
How to connect Maya Script editor with Visual Code Studio to benefit from a real development environment compared to the native editor that ships with Maya .
We will also set the autocomplete and PySide2 .
JSon Code : (Make sure your path is pointing to devkit/other/…../py)
###########
{
“python.pythonPath”: “python”,
“python.autoComplete.extraPaths”: [ “C:/Program Files/Autodesk/Maya2019/devkit/other/pymel/extras/completion/py” ],
}
Timecodes
0:00 channel intro
0:06 Install the Visual code studio and the Python module
1:21 Fixing a common error if it shows up
1:50 Configure Python for visual studio
2:59 Connect visual studio with Maya
4:47 Add the autocomplete to visual studio
6:12 Bonus
source
4 responses to “Connect Autodesk Maya and Visual Code Studio (External IDE)”
// Error: line 1: Socket error creating command port localhost:7001 (10048). how can I fix this?
Does debugging works well with this?, a mean with Maya imported modules or it throws some kind of warning?
That actually worked, thanks mate.
The auto complete is still busted for me, but it's still way better than using Maya's script editor.
@David Owairu
Don't forget to import the "python" module using "import cmds"