4 ms·
previously language syntax used TextMates xml based tmLanguage files for syntax highlighting. Example: https://github.com/Benvie/JavaScriptNext.tmLanguage/blob
by ben336 12y ago
previously language syntax used TextMates xml based tmLanguage files for syntax highlighting.
Example: https://github.com/Benvie/JavaScriptNext.tmLanguage/blob/master/Regular%20Expressions%20(JavaScriptNext).tmLanguage https://github.com/Benvie/JavaScriptNext.tmLanguage/blob/mas...
- pmalynin 12y agoWell, sure it 'uses" xml bases representation, but you can actually write the syntax in JSON and Sublime Text will compile it down to XML. Example: https://github.com/Nessphoro/sublimeassembly/blob/master/Assembly%20x86.JSON-tmLanguage https://github.com/Nessphoro/sublimeassembly/blob/master/Ass... Output: https://github.com/Nessphoro/sublimeassembly/blob/master/Assembly%20x86.tmLanguage https://github.com/Nessphoro/sublimeassembly/blob/master/Ass...
- ksherlock 12y agohttps://github.com/SublimeText/AAAPackageDev https://github.com/SublimeText/AAAPackageDev lets you create it with YAML. If nothing else, not having to escape and quote your regular expressions seems like a winning proposition.
- frou_dh 12y agoHow? What do you run to write out XML to disk? I suspect you're confusing what some juiced-up workflow makes possible vs. how stock Sublime works.