FXTD-ODYSSEY / vscode-mayapy

Visual Studio Code Extension for Autdoesk Maya Python Developer
MIT License
38 stars 10 forks source link

VS Code Extension for Autodesk Maya Python Intellisense and Debugging

MayaPy Feature


01_module

02_link

Todolist


Module Intellisense Feature

Intellisense feature is completely base on the vscode python extension autocompletion feature.
when you activate the extension , it will add the completion path to the setting.json python.autoComplete.extraPaths attribute

07_python_extrapath

By the way, I recommend you enable Jedi for performance issue temporarily.
Current Python Language Server is pretty slow when you try to pop up the autocompletion list.
Even so, Jedi also may not the perfect solution , you could check this issue.

08_jedi_enable

The origin completion python code came from the Maya developer center devkit
devkit path : devkitBase\devkit\other\pymel\extras\completion\py

06_completion_py

Better Intellisense Feature

The origin completion code already get the running module for intellisense.
but some module lack of the detail information for the specific function or class.
I try to extract more information from the Maya online document to build a better completion file.
MayaDoc repo is how I extract the data from the Maya online document

Debug Feature

Extensions Dependencies