language-maxscript

MAXScript language support for Atom.


License
ISC
Install
apm install language-maxscript@1.0.2

Documentation

MAXScript language support in Atom

This package adds support for MAXScript, the built-in scripting language for Autodesk® 3ds Max®. If you have no idea what either of those are, you needn't bother installing this.

Up and Atom

Contributing

This was more work than I thought it would be, so if anything appears even remotely whack, please file an issue. Seriously.

Usage

Some users may wish to replicate the same look-and-feel of 3DS Max's built-in editor. In which case, they can use this as a starting-point. Add the following to your stylesheet:

/* MAXScript: MXS_Scintilla clone */
.syntax--maxscript{
	
	.syntax--comment{
		color: #007f00;
	}
	
	.syntax--numeric{
		color: #007f7f;
	}
	
	.syntax--string{
		color: #7f007f;
		
		&.syntax--verbatim{
			color: #007f00;
			background-color: #e0ffe0;
		}
		
		&.syntax--invalid{
			color: #000;
			background-color: #e0c0e0;
		}
	}
	
	.syntax--operator{
		color: #000;
		font-weight: bold;
	}
	
	.syntax--function{
		color: #3060a0;
	}
	
	.syntax--keyword,
	.syntax--storage.syntax--type.syntax--function,
	.syntax--storage.syntax--modifier.syntax--function{
		color: #00007f;
		font-weight: bold;
	}
	
	.syntax--rollout-control{
		color: #000;
		font-weight: bold;
	}
	
	.syntax--objectset{
		color: #d0b080;
		font-style: italic;
	}
}