Haxe IDE and Editors

IDEs

  • FlashDevelop 4 is the state of the art IDE for Haxe on Windows, offering code completion, a Flash debugger, and project templates for all targets, including NME. Read more here, if you're on Linux or Mac you may want to try MonoDevelop, but the MonoDevelop bindings are currently only setup for NME haxe development.
  • FDT 5 is an Eclipse based IDE focused on Flash and Haxe development. It is a commercial product with both free and premium versions for PC, Mac and Linux.

Text Editors

  • Textmate a popular Mac editor, Textmate supports a lot of features for coding in Haxe. Many IDE's (including Intellij) support Textmate's specification for syntax highlighting. Read more about it here. Windows users can use E-TextEditor using the same bundle.
  • Sublime Text is the rising star of the code editors. Similar to TextMate but crossplatform, it is highly extensible and already has a great ecosystem of plugins, including one for haxe.

Other Plugins and Addons

exuberant ctags


Many editors (Vim, Emacs, JEdit, ...) support tag files which allow them to implement "goto declaration" features easily.

Put into your ~.ctags file:

  --langdef=haxe
  --langmap=haxe:.hx
  --regex-haxe=/^package[ \t]+([A-Za-z0-9_.]+)/\1/p,package/
  --regex-haxe=/^[ \t]*[(@:macro|private|public|static|override|inline|dynamic)( \t)]*function[ \t]+([A-Za-z0-9_]+)/\1/f,function/
  --regex-haxe=/^[ \t]*([private|public|static|protected|inline][ \t]*)+var[ \t]+([A-Za-z0-9_]+)/\2/v,variable/ 
  --regex-haxe=/^[ \t]*package[ \t]*([A-Za-z0-9_]+)/\1/p,package/
  --regex-haxe=/^[ \t]*(extern[ \t]*|@:native\([^)]*\)[ \t]*)*class[ \t]+([A-Za-z0-9_]+)[ \t]*[^\{]*/\2/c,class/
  --regex-haxe=/^[ \t]*(extern[ \t]+)?interface[ \t]+([A-Za-z0-9_]+)/\2/i,interface/
  --regex-haxe=/^[ \t]*typedef[ \t]+([A-Za-z0-9_]+)/\1/t,typedef/
  --regex-haxe=/^[ \t]*enum[ \t]+([A-Za-z0-9_]+)/\1/t,typedef/
  --regex-haxe=/^[ \t]*+([A-Za-z0-9_]+)(;|\([^)]*:[^)]*\))/\1/t,enum_field/

Then run

  ctags -R .

In the directories you want to create a tag file index for. Vim plugins run it automatically for you.

version #20056, modified 2014-04-10 21:36:37 by indolering