Repository navigation
Home
Haxe Toolkit Support brings the Haxe language to IntelliJ IDEA. It covers the whole development loop: writing code with completion and refactoring, building for any target, running, debugging, testing and profiling.
Note
Version 2.0 changes how projects are configured. Settings now live in the Haxe tool window and in your build files, instead of in Project Structure. Projects set up with 1.x need a one-way migration, so back them up first. See Migrating from 1.x.
Important
This wiki documents version 2.0 and newer. There is no documentation for version 1.x.
- Installation: install the plugin and a Haxe SDK.
- Your First Project: create a project or open an existing one.
- Core Concepts: modules, build files, the resolve context, targets and language levels. Read this once; the rest of the plugin builds on it.
Coming from version 1.x? Start with Migrating from 1.x.
| Area | What you get | Start here |
|---|---|---|
| Projects | hxml, Lime, OpenFL, NME and HXP build files; the build each file is analyzed under; targets; defines; haxelib libraries | The Haxe Tool Window |
| Building and running | build commands, custom actions, run configurations for every target | Building and Running |
| Debugging | HashLink, HXCPP, JavaScript in the browser and in Node.js, the interpreter, Flash and AIR | Debugging Overview |
| Testing | utest, munit, buddy and tink_unittest, with gutter markers (except buddy) and results in the test runner | Unit Tests |
| Profiling | HashLink, HXCPP, AIR, JavaScript in Chromium-family browsers | Profiling Overview |
| Editing | completion, compiler diagnostics, inspections, refactorings, formatting | Code Completion |
| Settings | every settings page and option in one place | Settings Reference |
- IntelliJ IDEA 2026.2 or 2026.3. The profilers, Flash/AIR debugging and the project diagram need an IntelliJ IDEA Ultimate subscription; everything else works without one.
- A Haxe SDK. Most features work with any Haxe 4 release. The debuggers need Haxe 4.1 or later, and compiler diagnostics need Haxe 4.3.5 or later, or Haxe 3.4.7. See Supported Versions.
The plugin is available on the JetBrains Marketplace and on the GitHub releases page. See Installation.
- Beta: works and is supported, but may still change.
- Experimental: may be incomplete; feedback is especially welcome.
- IntelliJ IDEA Ultimate: needs an IntelliJ IDEA Ultimate subscription.
Look in Troubleshooting and FAQ first. To report a bug or ask a question, open an issue on GitHub. Include the plugin version, the IDE version and your Haxe version.
Getting started
Working with projects
- The Haxe Tool Window
- Build Files
- Targets and Sections
- Resolve Context
- Libraries and Haxelib
- Defines and Custom Targets
- Building and Running
- Run Configurations
- Tools
- Compilation Server
Debugging
Testing
Profiling
Editing code
- Code Completion
- Diagnostics and Inspections
- Refactoring and Navigation
- Formatting and Code Style
- Conditional Compilation
- Editor Extras
Reference