Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Elisp haxe completion

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 hxc-complete.el
README
Emacs haxe completion.

Inspired by downloading 500mb of an eclipse plugin for the same purpose.

Integrated with eproject by parsing a build.hxml from the eprojects home
directory and then storing the classpaths until the project is changed. I only use
with js target so works very well in that instance for multiple compilation targets.

Completion on ".". Completions placed into an ido selection, very nice with ido
flex matching enabled.

Completion on "(". A new buffer *haXe* is created where the ( parameter output
is placed for reference.

I'm not expecting much take up on this and so I expect users to know how to
tweak it to their own use. However if you're interested but can't make it work
let me know.

In my haxe mode setup I have the following keys

   (local-set-key (kbd ".") (lambda () (interactive) (hxc-complete ".")))
   (local-set-key (kbd "(") (lambda () (interactive) (hxc-complete "(")))


I'm using the haxe mode by Jens Peter Secher.

If you're not using eproject you'll need to tweak this function

(defun hxc-prj-dir ()
  (cadr prj-current))

to return your project dir. It's currently set to eprojects prj-current.

Will probably add flymake support and a api documentation server to round it out.
Something went wrong with that request. Please try again.