This package lets you easily see errors and warnings in the Maya console.
it's quite simple, e.g. the line // https://www.autodesk.com/maya-arnold-not-available-error
will be colored as an error
You can use either of the following installation methods
- Edit your environment variables to add the
plug-ins
folder to your list of plugin locations. This can be done by adding theplug-ins
folder location (for exampleC:\Users\JohnDoe\Documents\maya-script-editor-highlighter\src\plug-ins
, or wherever you decided to put it) to theMAYA_PLUG_IN_PATH
environment variable.
- Edit your environment variables to add the
scripts
folder to your list of scripts locations. This can be done by adding thescripts
folder location (for exampleC:\Users\JohnDoe\Documents\maya-script-editor-highlighter\src\scripts
, or wherever you decided to put it) to thePYTHONPATH
environment variable.
- Enable the highlight plugin (if you chose the plug-in version)
- Open script editor.
- It won't work until you get focus on the script editor, this means you'll need to activate focus on a different part of the GUI, then back on the script editor. To do this, simply click on the viewport then back on the script editor.
Thanks to Vincent Touache and Remi Deletrain for the original idea for this package and for the original version on the code. Thanks to Hannes Delbeke for his contribution, as well as for more information on other highlighting methods : https://hannesdelbeke.github.io/wiki/tech%20art/maya/Maya%20script%20editor%20syntax%20highlight/