The “Haxe Imports” package for Emacs now on Github and Melpa

August 14, 2016 - 4:55 pm

When it comes to Haxe, a lot of developers prefer Vim over Emacs. This is simply because there is a lot of support for Haxe on Vim (Vaxe is an example) while there is almost none on Emacs (Aside from haxe-mode). I, however, personally prefer Emacs and I continued to use it for my Haxe projects in spite of the lack of packages and support.

Since I had free time over the weekend I decided to port the really useful Java Imports package to Haxe and uploaded it on Github and can be downloaded through Melpa.

Haxe Imports – Code for dealing with Haxe imports

This package adds the import-haxe-class function, which will prompt for the class at point, then the package, then add the required import statement for the class and cache a “class-name -> package” relationship for any future importing of the class.

This is my very first ELisp package and I learned a lot from slowly going through and understanding the original code. I am hoping I can use all the stuff I learned here to make more useful packages for Haxe on Emacs in the future. I have a couple of really useful Haxe development related functions that others might find useful.

Be sure to check them out and, if you have the know-how, please help me spread Haxe love on Emacs.


Posted under: Code