Skip to content
Syntax Highlighting for Haxe files in Notepad++ (UDL v2.1)
JavaScript HTML CSS Haxe
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
themer
.gitignore
LICENSE
Preview.hx
README.md
haxe-dark.xml
haxe-light.xml
preview-light.png
preview.png

README.md

Haxe for Notepad++

Syntax Highlighting for Haxe files in Notepad++ (UDL v2.1)

What's This Thing

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).

How to Use it

  • Download the haxe-dark.xml file (or haxe-light.xml)
  • Open Notepad++
  • Go to Language -> Define your language..., click on Import... and select the haxe-dark.xml file you've downloaded
  • Close and restart Notepad++
  • Done

Screenshots

Here's a preview of how it looks like:

haxe-dark.xml | preview

haxe-light.xml | preview

Thanks to @yellowafterlife for the original work, and to the contributors of haxe-TmLanguage.

UDL 2.1 Themer

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).

LICENSE (MIT)

See LICENSE.

You can’t perform that action at this time.