Completion, with documentation.
Names in scope on CTRL-X CTRL-O, the fields of a record, and the functions a pipe can continue with, each with its documentation.
Names in scope on CTRL-X CTRL-O, the fields of a record, and the functions a pipe can continue with, each with its documentation.
An error shows on leaving insert mode, as a sign and a message beside the line, and CTRL-W d opens it in full.
gra offers the server's fix for a missing field.
K shows the declaration and its doc comment, for the standard library and your own code.
CTRL-S shows the signature of the call being typed, with the current parameter marked.
Once vim.lsp.inlay_hint.enable(true) turns them on, inlay hints show the type of every var and the name of every argument.
vim.lsp.buf.format() runs ant fmt, and the BufWritePre autocommand from the README makes it format on save.
Indentation follows ant fmt as you type, and gcc comments a line with //.
CTRL-] opens the declaration, in another file too, and CTRL-O goes back.
grr lists the references of a name in the quickfix list.
grn renames a variable and every use of it.
gO lists the file's symbols in the location list.
:Ant run runs the current file with ant run in a terminal, and :make runs ant check into the quickfix list.
The code lens above a test runs it alone, and :Ant test-nearest runs the test the cursor is in.
:Ant debug runs the current file under ant dap: breakpoints, stopping, values on hover, scopes, stepping, and the program's output.
The plugin needs Neovim 0.11 or later, and nvim-dap for debugging. Install shows how to add it with lazy.nvim or as a package, and where ant comes from.