View Full Version : Maxscript 2008 Pro Editor = Awesome
erilaz 10-23-2007, 04:39 AM Can I just say i'm in love? :love:
I've been waiting for a robust MXS editor like this for so long, it makes me smile everytime something new pops up that wasn't there before... which means right now I'm smiling every 5 minutes.
Incidently, are there any cool tweaks you guys are using to make the editor even better?
|
|
RustyKnight
10-23-2007, 07:40 AM
Can I just say i'm in love? :love:
I've been waiting for a robust MXS editor like this for so long, it makes me smile everytime something new pops up that wasn't there before... which means right now I'm smiling every 5 minutes.
Incidently, are there any cool tweaks you guys are using to make the editor even better?
Would you kindly stop rubbing it in *grumbles*...I'm now going to wonder off and cry while I continue to use max 8... ;)
Seriously though, it would be cool to know more...
thatoneguy
10-23-2007, 06:02 PM
Actually I noticed that what they did was just integrate SciTE http://scintilla.sourceforge.net/SciTEDownload.html a very popular editing app (Fusion uses it too) and just added a MAXScript definition file.
Now... if someone could find out where it's hiding in Max's directory structure you could use it with Max9 as well.
PiXeL_MoNKeY
10-23-2007, 07:53 PM
I don't think it is that simple. I believe it has been modified and compiled specifically for 3ds max 2008. You can see this by the MXS_Scintilla.dll and MXS_SciTE.dll in the 3ds max root.
-Eric
If you want almost same functionality for max8 you'll need to look into mxscom for max, an activeX component that runs scripts in max from an external editor. I use notepad++, also a scintilla spinoff with a lot more functions then the new editor has. I use it all the time. Don't now how I will work with 2008, probably the native editor, because it has the nice F1 functionanlity, which is the only thing I miss in notepad++. I have a syntax colorcoding file for mxs in notepad++ with the same functionallity as the one from Chris Johnson's Ultra edit syntax file.
There's no reason not to use an extended editor, all stuff is there to make it work!
-Johan
Actually I noticed that what they did was just integrate SciTE http://scintilla.sourceforge.net/SciTEDownload.html a very popular editing app (Fusion uses it too) and just added a MAXScript definition file.
Now... if someone could find out where it's hiding in Max's directory structure you could use it with Max9 as well.
You are JUST oversimplifying, but yes, it is based on Scintilla and SciTE.
As mentioned, SciTE was specifically modified to work with MAXScript. It supports the Ctrl+Right-click list of the old editor, as well as getting all keywords defined in MAXScript (including structs, interfaces, really anything) so if you would add a new DLX with new MAXScript functions, the editor would recognize and color-code them natively without having to edit a definition file...
Wahooney
10-23-2007, 11:51 PM
Scintilla is a very tidy UI text editor, and SCiTE kicks ass too :)
I like the code completion and the fact that it looks at your script to get the keywords, functions, etc.
The fact that the regex has no support for new-lines/carriage returns is a bit crappy, but that is a limitation imposed by Scintilla and an interface for the properties would have been welcomed, but it's no trainsmash.
I love the new editor, and the fact that it remembers your last opened scripts between Max sessions... :buttrock:
erilaz
10-24-2007, 12:47 AM
I love the new editor, and the fact that it remembers your last opened scripts between Max sessions... :buttrock:
Aww yeah... :D
Even the little things like open-quote colour blocking so you know if you've missed closing them off makes me giddy.
You are JUST oversimplifying, but yes, it is based on Scintilla and SciTE.
As mentioned, SciTE was specifically modified to work with MAXScript. It supports the Ctrl+Right-click list of the old editor, as well as getting all keywords defined in MAXScript (including structs, interfaces, really anything) so if you would add a new DLX with new MAXScript functions, the editor would recognize and color-code them natively without having to edit a definition file...
Brilliant. Did you do the reference again? I'm noticing a subtle humour similar to yours through the code examples... ;)
Did you do the reference again? I'm noticing a subtle humour similar to yours through the code examples... ;)
Yep, have been doing it since Max 5.
Good work on it as always Bobo. Gota love having a proper editor built in.
thatoneguy
10-24-2007, 01:53 AM
While I have your attention Bobo.
How do I keep two scripts open and visible at the same time?!
I love everything else. But I'm always copy/pasting between scripts, little test miniscripts etc etc. And I'm pretty sure SciTE has multiple pane support. At least Notepad++ does.
erilaz
10-24-2007, 02:47 AM
Yep, have been doing it since Max 5.
I love the code snippet: WindowHandle "All Your Windows Are Belong To Us." :D
loocas
02-09-2008, 05:43 PM
Guys, sorry to interrupt, but, is there any way to get the color coding of MXS into external SciTE? It'd be awesome!
I can do it myself through the .properties definition file, however, I'm not very much tempted into listing all the syntax MAXScript provides and colorcode it :(
Is there any such .properties file for the SciTE or has anyone done it yet?
Thanks in advance, cheers,
Pjanssen
02-09-2008, 08:25 PM
Now for a decent syntax, better OOP support and we're starting to get somewhere ;)
Guys, sorry to interrupt, but, is there any way to get the color coding of MXS into external SciTE? It'd be awesome!
I can do it myself through the .properties definition file, however, I'm not very much tempted into listing all the syntax MAXScript provides and colorcode it :(
Is there any such .properties file for the SciTE or has anyone done it yet?
Thanks in advance, cheers,
Maybe this thread can help you?
http://forums.cgsociety.org/showthread.php?f=98&t=592996
-Johan
loocas
02-10-2008, 01:00 AM
Maybe this thread can help you?
http://forums.cgsociety.org/showthread.php?f=98&t=592996
-Johan
Thanks a lot, man.
I found the syntax file for UE earlier, but hoped to find a ready SciTE property file as well :)
Ahh, well, what you don't do yourself, you simply don't have ;)
Thanks again, I'll dive into the whole SciTE syntax editing tomorrow as I'm too sleepy right now :surprised
I have made one myself for notepad++ a scite spinoff too, but my reason for posting the UE version is that notepad++ (and maybe scite as well) only has like 4 categories for keywords.. and there where 6 (if I recall correctly) in the UE file, so I "merged" the other keywords with a categorie I thought was most closely related... but it isn't very accurate offcourse, the UE file is the best reference there is... if you're interested in the n++ files let me know!
-Johan
loocas
02-10-2008, 08:44 PM
I have made one myself for notepad++ a scite spinoff too, but my reason for posting the UE version is that notepad++ (and maybe scite as well) only has like 4 categories for keywords.. and there where 6 (if I recall correctly) in the UE file, so I "merged" the other keywords with a categorie I thought was most closely related... but it isn't very accurate offcourse, the UE file is the best reference there is... if you're interested in the n++ files let me know!
-Johan
Thanks a lot!
I'm more into SciTE as it is internally used in Max 2008 and also good for mapy and its *.mel definition properties file, plus native Python color coding, so I'll stick with that.
I hope somebody, before me :D , gets to do the color coding file as I currently use *.lisp for color coding MAXScript (+ some minor additinos like /* */ and -- ).
So, thank you anyways :)
Johan, thanks for info.
Could you upload that N++ files ?
cv
I have put up my maxscript.api (http://scripts.subd.nl/?f=maxscript.api) and userDefineLang.xml (http://scripts.subd.nl/?f=userDefineLang.xml).
api goes in the plugins/APIs directory, xml in the root of notepa dir.
Be aware I'm using 4.1 so I don't know if somethings have changed in the meantime.
Also note that notepad++ doesn't regonize max open en closing () very well with the code folding feature.. you need to put an space inbetween brackets fot it to work well... at least that's as far as I got.
Cheers,
-Johan
Hey, thanks for posting files and tips, you saved me headache and swearing
trying to convert it by myself.
zbb
j-man
02-15-2008, 03:27 PM
While I have your attention Bobo.
How do I keep two scripts open and visible at the same time?!
I love everything else. But I'm always copy/pasting between scripts, little test miniscripts etc etc. And I'm pretty sure SciTE has multiple pane support. At least Notepad++ does.
Hey was there an answer for this? I'd like to be able to have two sciprts open as well < :
Josh.
I don't think the maxscript editor provides a way for this.
-Johan
CGTalk Moderation
02-15-2008, 04:28 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.