Skip to content

The Ant plugin gives IntelliJ IDEA completion, diagnostics, navigation, run configurations, tests, and debugging. ​

Install from the JetBrains Marketplace

Completion, with documentation. ​

Names in scope, the fields of a record after ., and the functions a pipe can continue with after |, each with its signature and its documentation.

Errors as you type. ​

An error appears as you type: the wave, the mark in the scrollbar, the inspection widget, and the message in a tooltip.

Fixes from the checker. ​

The server's fix, from the tooltip or from ⌥⏎.

Documentation on hover. ​

The declaration and its doc comment, for the standard library and your own code.

Parameter info as you call. ​

The signature of the call being typed, with the current parameter in bold.

Formatted by ant fmt. ​

Reformat Code (⌥⌘L) runs ant fmt, so every file is laid out the same way.

Editing that knows the syntax. ​

Brackets and quotes close themselves, Enter between braces indents, and ⌘/ comments a line.

Go to declaration, across files. ​

⌘-hover shows the link, and ⌘-click opens the declaration, in another file too.

Every usage of a name. ​

⌘-click on a declaration lists its usages.

Rename, everywhere. ​

⇧F6 renames a name inline, with every use of it, in IntelliJ IDEA 2026.1 or later, whose LSP client brings rename.

The structure of a file. ​

⌘F12 shows the file's symbols, filtered as you type.

Run from the gutter. ​

The run icon runs ant run with the file in the Run tool window. Only a script, a file with a statement at its top level, has the icon.

Run one test from the gutter. ​

In a test file, each test and each row of a table has a run icon. Run there runs that test alone into the test tree, and the icon remembers how it last went.

Debug a run configuration. ​

Breakpoints with conditions and logged expressions, frames and variables, values on hover, stepping, and the console. Ant Panics in the Breakpoints dialog stops at a panic nothing catches.

Install from the JetBrains Marketplace

The plugin needs IntelliJ IDEA 2025.3 or later. The source is ant-src/intellij-ant, and the plugin needs ant, which Install explains.