Sublime Text Editor - MXS support

Hi,

Is there anyone who has looked at opportunities to get support for the MXS to the Sublime Text Editor? (http://www.sublimetext.com/)

I have not investigated this much, but this should probably be able to do?

I see it already is language defenition files to notepad++ here(Notepad++ MXS Language Definition)

Have any of you tips, tricks and suggestions around this they would have been received with great thanks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
borent's picture

Thanks for maxscript highlight!

Thanks for maxscript highlight! This really is not enough! Publish it on the Package Control think many useful =)

But unfortunately I have following problem with Building file. All set up as it was written. Creates a teapot. However, under my code pops up the following error:

Error trying to parse build system: Invalid escape in C:\Users\render\AppData\Roaming\Sublime Text 2\Packages\MaxScript\MaxScript.sublime-build:2:20

In this file, I have not changed anything:
{
"cmd": ["python", "$packages\MaxScript\Executer.py", "$packages\MaxScript", "$file"]
}

I try to send a file for execution "test.ms". Maybe you know what could be the problem?

borent's picture

I resolve my problem

In the file: "MaxScript.sublime-build" change to the \ to / and I did not have the environment variable so I pointed the way to a python:

Before:
{
"cmd": ["python", "$packages\MaxScript\Executer.py", "$packages\MaxScript", "$file"]
}

After:
{
"cmd": ["C:\\Python26\\python.exe", "$packages/MaxScript/Executer.py", "$packages/MaxScript", "$file"]
}

l0op1ng's picture

HI, Thanks ! It works. But I

HI,

Thanks !
It works.

But I found that each time I launch max it reset the MaxDotNet.config in my localApps.
In order to avoid the pb I have to modify the file in read only "
Now the system is working fine.

Best,
Rob

Mambo4's picture

great work!

thanks for this!

I found Sublime Text last year and dropped notepad++ in favor of it for all my python work. I Just started using Max script, so this will be welcome.

Works fine for me. Nice work!

tassel's picture

Many many thanks, appreciate

Many many thanks, appreciate you sharing it. Will try it out when I get time :)

/ Raymond

tassel's picture

Thank you Anubis, I'll take a

Thank you Anubis, I'll take a look at the ConText :)

/ Raymond

Anubis's picture
barigazy's picture

about ConText

>>>to Anubis
thanks for txt editor suggestion. I agree that Sublime Editor is a good choise for web and other languages programing, but ConText is free and very easy to adjust basic mxs higlighters.
I don't like limitation to 5 keywords but anyway...
I share my *.chl. See attachment
Cheers!

AttachmentSize
maxscript.rar 15.16 KB

bga

Anubis's picture

Thanks for the higlighter!

I'm too made my own simple higlighter but I see that you put a lot more keywords in your CHL-file. The limitation to 5 keywords is quite enough for some languages, and of course w'd be good to have more for Mxs... ConText is a good choice for me anyway :)

my recent MAXScripts RSS (archive here)

barigazy's picture

For me is the best choice

For me is the best choice these adjusments of MXS_Editor. Maybe you already try this but for those who are not let them try.
It is good way to increase functionality of MXS_Editor and also you can easily customize it.
Big Thanks to Josef Wienerroither (spacefrog) and James Haywood.

AttachmentSize
darkscintilla_and_autocomplete.rar 4.32 KB

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.