2

I know there currently isn't a Maxscript syntax definition for SublimeText2, but is it possible to easily either convert an existing syntax set from say Notepad++ or Textpad or create one (more of a daunting prospect as I wouldn't know where to begin)?

Ghoul Fool
  • 6,249
  • 10
  • 67
  • 125
  • I'd like to know too, what I do know for now is that the Lua syntax matches 'best'. – JHN Oct 09 '12 at 08:25
  • For Maxscript I ended up using the default maxscript editor, only I changed the MAXscript.properties file to match the colour scheme I was after. – Ghoul Fool Nov 02 '12 at 11:29

1 Answers1

3

I just created one today:

https://www.dropbox.com/s/zj5egnr0a74ldui/MaxScript.zip

I'm new to language definition so there's still a few loose ends here and there, but it does the job so far. If you have any issues, suggestions or fixes, please let me know.

I haven't had a chance yet to upload it to GitHub for Package Control, but I'll get to that one day. Until then, just use the download link above and place the file in your Package dir, in a directory called /MaxScript.

Enjoy!

Edit 12/10/2013: Updated the link, it works again now.

  • 1
    Rogier, just installed it and so far it looks good. No more MaxEditor :) – Ghoul Fool Jan 10 '13 at 16:58
  • Glad to hear it! As I was using it yesterday, I still discovered a few rough edges. Particularly function calls need some work, and I'd like to find a proper way to differentiate brackets visually. Also, the word definitions I'm using are from 2006, so they're probably a bit outdated. But I'm happy with how it turned out for a first pass. Please comment here if you find any issues or have suggestions! – Rogier Van Etten Jan 10 '13 at 23:58
  • I've just done a [quick comparison](http://dropcanvas.com/gevxu) with a bit of code from [here](http://www.chrisevans3d.com/pub_blog/?p=7) which might help. The top part is using the max Editor, the bottom is Sublime Text 2 – Ghoul Fool Jan 11 '13 at 16:45
  • Thanks, Ghoul Fool. I noticed that the SublimeText in the screenshot has its language set to Lua (at the bottom right), which could by caused by my file types not being set up correctly. Would you mind switching it to MaxScript and seeing if it's any better? – Rogier Van Etten Jan 12 '13 at 13:22
  • Oops! Missed that. I've updated the [image](http://dropcanvas.com/2ktcq) with the language set to Maxscript. – Ghoul Fool Jan 14 '13 at 09:22
  • 1
    The dropbox file no longer exists? – bjorke Jul 25 '13 at 20:39
  • @RogierVanEtten Can you re-upload you language definition? – Brendan Abel Nov 18 '13 at 05:48