Closed for Company Meetings: Between September 18 (5pm PDT) and September 22 (12pm PDT), Support and Sales requests will be delayed. Only time-sensitive issues will be addressed during that time. Thanks for your patience.
If you are a SublimeText user who like to write GenExpr code, GenExprForSublime might interest you. Any feedback is welcome. I'll had more snippets along the way, feel free to contribute as well by sending me pull request on github.
Well it's nothing but a syntax highlighting theme and a bunch of snippets. So after installing it (I would recommend using package control for that), you can just set the syntax to GenExpr and take advantage of the color scheme and the snippets (you can explore them with the command palette). You can see it in action in the demo video.
thanks ej, this is really brilliant. and typical ej.
i spend almost all my max time in genexpr these days, so this is going to potentially help a great deal.
firstly, whilst this is great and all, why can't we get support for .genexpr natively in max?!! writing code in max text is not so cool, and still i cannot double-click on a .genexpr file in the finder and have it open in the max text editor. maybe i'll try and set all .genexpr files to open in sublime text from now on?...
secondly, if i do not like all of your snippets formatting decisions, would i be able to create alternate .sublime-snippet files and somehow be able to switch between them whilst retaining the global syntax part of your code?
If anyone's interested, I made a small python script that converts .genexpr files to .gendsp, which can be opened directly in Max. Essentially it generates a new patcher file with the correct number of inlets and outlets, which are pre-connected to a codebox object containing the code from the .genexpr file. I mention it in this thread because 1) it makes external editing of GenExpr much easier/more powerful and 2) because there is a simple build system for Sublime Text included as well.