Syntax Highlighting for Haxe files in Notepad++ (UDL v2.1)
Just an xml file that gives you syntax highlighting/coloring for .hx files inside recent versions of Notepad++ (the ones that support the User Defined Language).
- Download the haxe-dark.xml file (or haxe-light.xml)
- Open Notepad++
- Go to
Language -> Define your language..., click onImport...and select thehaxe-dark.xmlfile you've downloaded - Close and restart Notepad++
- Done
Here's a preview of how it looks like:
Thanks to @yellowafterlife for the original work, and to the contributors of haxe-TmLanguage.
You can customize the theme in the browser with this little tool (WIP).
Hint: CTRL+click on code in the preview panel to jump to the associated udl rule.
The themer works by mapping udl to css and back again (mappings are in stylemap.haxe.json).
The preview.haxe.html file is directly exported from Notepad++ (Plugins->NppExport->Export to HTML), and injected as is.
It can be used to live-preview and edit other udl files using stylemap.generic.json (example LESS), or using a custom style-mapping file (f.e. see stylemap.haxe.json).
See LICENSE.

