A milestone in creating expressions in my own maya script editor, along with previous features of splitting and deleting panes. Oh yeah and it will transfer your current scripting tabs over to the script editor.
In other news on coding this, I've been looking into the logging library and creating debug messages using those, which I found pretty funky as I can turn them on or off by setting the severity limit.
I've been testing debugging Maya Python scripts lately. Mostly focusing on free IDEs or editors such as PyCharm. So far this is one requires less setup in my opinion.
This is mostly based off the remote python debugging functionality described here: Download and install Microsoft's free Visual Studio CodeInstall the official Python Extension
Download ptvsd package as a zip
Extract the ptvsd folder into your Maya scripts folder
Open Maya and run import ptvsd
ptvsd.enable_attach("my_secret", address= ('0.0.0.0', 3000))
Back in VSC, switch to Attach (remote debug) in the debug configurations and start it
You are now ready to debug.
Note: here is the settings I use in launch.json
Add break points, run your code and it should stop and populate the debug section of Visual Studio code when it hits a break point
Continuation of pursuit for a more powerful and functional script editor from the university specialist project last year, I present the first look at JSE, or Joe's Script Editor. Yeah the name was definitely super cool, yeah.
I have a lot of features lined up, including ideas from improving the script editor specialist project in the 2nd university year of study, including:
Split panes (initial proof of concept complete)Opening and saving script behaviour just like in a normal text editorRe-written code execution procedures to overload the default oneVim style command line to do thingsNew right click menusIntegration with the existing scrip editor's preferencesSome cool help to go with using it
This is a personal project at the moment but I may consider it for the innovations project during this final university year. When I complete it to a good enough of a standard, I am thinking of proposing this to Autodesk as a candidate for replacing their existing solution, which does t…