I was looking for a MEL lexer. Can you tell me what version this was designed for? I'm planning to update it for Maya 2010.
Also, how far did the codeintel implementation go? I'll update that too if necessary (beyond keywords etc.). I've grabbed the source, but it would be nice to know where I'm starting from!
This extension was written to support the Maya Embedded Language (Mel). I don't know if anything has changed to Mel with the Maya 2010 release - nor the particular version of the keywords/builtins used by this extension.
It seems that I won't have to change much - you normally get a few keywords added between Maya versions. I've got the list from the 2010 docs.
Also MEL has "nodes" (from the dependency graph) which may or may not be useful to have highlighted in the syntax. I'll add them and see if I get more or less confused ;)
I'm also going to look at a way of "sending" the MEL to Maya directly from Komodo (without having to save a MEL file or copy/paste into the MEL editor in Maya. Maya has a reasonable Python implementation (which MEL can be called from) so it shouldn't be too hard.
Thank you for adding this support feature. I look forward to trying it out.
--
Chris
Hi guys,
I was looking for a MEL lexer. Can you tell me what version this was designed for? I'm planning to update it for Maya 2010.
Also, how far did the codeintel implementation go? I'll update that too if necessary (beyond keywords etc.). I've grabbed the source, but it would be nice to know where I'm starting from!
Cheers,
Martin
Hi Martin,
This extension was written to support the Maya Embedded Language (Mel). I don't know if anything has changed to Mel with the Maya 2010 release - nor the particular version of the keywords/builtins used by this extension.
The Mel codeintel system provides automatic completions on variables and built-in functions/keywords. You can see these in the file:
http://svn.openkomodo.com/openkomodo/view/addons/maya/pylib/lang_mel.py
Cheers,
Todd
Thanks Todd!
It seems that I won't have to change much - you normally get a few keywords added between Maya versions. I've got the list from the 2010 docs.
Also MEL has "nodes" (from the dependency graph) which may or may not be useful to have highlighted in the syntax. I'll add them and see if I get more or less confused ;)
I'm also going to look at a way of "sending" the MEL to Maya directly from Komodo (without having to save a MEL file or copy/paste into the MEL editor in Maya. Maya has a reasonable Python implementation (which MEL can be called from) so it shouldn't be too hard.
Cheers,
Martin
There is now a Maya API catalog included in the extension, which was generated by JTilden, see here:
http://community.activestate.com/forum/maya-python-cix-extension
Cheers,
Todd