I’ve been searching for some time a good text editor for scripting in MEL with good syntax highlighting and other useful features. I’ve used Mel Studio in the past both the free version and the Pro. However, the Pro is a tad expensive ($112) for not really that much more in features vs. the free version. Of course the benefit is that you can source and execute your code right there in Maya. The other con is that you when a new version of Maya comes out, you have to upgrade the plugin and Mel Studio is only MEL and does not yet support Maya 8.5 with the new Python integration. Now, I’m not slamming Mel Studio, it’s really nice but I as I’m trying to learn Maya API and Python, I’d have to find a new editor. I’ve been using at work and home PsPad which is also a great editor with Mel hightlighting. On to jEdit.
First off, I’ve used jEdit before when I was working on Linux and in windows. I forgot how much it has to offer and best of all it’s FREE! If you goto http://www.highend3d.com/maya/downloads/tools/syntax_scripting/ , you’ll see a good amount of highlighters and plugins available for jEdit. Most of these take some time to setup and most have instructions on how to set all the plugins. The two most useful is the CodeBrowser plugin and sendToMaya macros. Here is a shot of my jEdit UI:
If you look to the right there are three buttons I setup that are Macros. Really easy to add and you can make your own custom buttons if you wish. One will send all of the text to Maya, the second will send selected and the last one will source it in Maya. All I did was put a commandPort command into my userSetup.mel in both Maya 7.0 and my Maya 8.5 so it gets executed at startup. So, which ever one I have open, it will send the code to that one. The code is in 3 python scripts where you can change the port number and/or the mel sending script.
I also have autoComplete working so that after a few letters will pull up the name of the command in a dropdown for MEL and Maya API.
The CodeBrowser is great too. It will show global/local procs and variables in your script. If you double click a function, it will jump you to it. Sames goes for Python in Maya as well. You have to have cTags installed inorder to get this to work. The CodeBrowers will show where to get that. But, if the file is large, you may want to disable the plugin cause it may take some time to load. Of course there is a plugin for loading and unloading plugins. Very handy.
Here is a shot of that as well:
This just blows all editors out of the water and you get all this for FREE! Freakin Awesome!
Now, this takes a bit of fussing and a few things to setup. It would take me some time to explain how this is all setup but most of it comes with instructions on how to do it.
I can’t say enough about this editor. I’m really rediscovering it again and I’m anxious to start using it as my dev suite and customizing it. Plus I found a plugin for Perforce as well. If someone told me that here is an editor that does all this and it’s $150-$200 I’d buy it hands down. Did I say it was free?
Give it a whirl! Once you start using, I don’t think you’ll turn back.