Scroll to navigation

NIMSUGGEST(1) User Commands NIMSUGGEST(1)

NAME

nimsuggest - Nimsuggest

DESCRIPTION

Nimsuggest - Tool to give every editor IDE like capabilities for Nim Usage:

nimsuggest [options] projectfile.nim

OPTIONS

automatically binds into a free port
port, by default 6000
binds to that address, by default ""
read commands from stdin and write results to stdout instead of using sockets
shutdown nimsuggest in case this process dies
use emacs epc mode
enable debug output
enable verbose logging to nimsuggest.log file
use version 1 of the protocol; for backwards compatibility
use version 2(default) of the protocol
use version 3 of the protocol
use version 4 of the protocol
information
return the Nim compiler version that nimsuggest uses internally
return the newest protocol version that is supported
return the capabilities supported by nimsuggest
perform automatic refreshes to keep the analysis precise
limit the number of suggestions to N
implies --stdin and outputs a line '!EOF!' for the tester
attempts to find the project file of the current project
globally turn exception inlay hints on|off

The server then listens to the connection and takes line-based commands.

If --autobind is used, the binded port number will be printed to stdout.

In addition, all command line options of Nim that do not affect code generation are supported.

REPORTING BUGS

https://github.com/nim-lang/Nim/issues

SEE ALSO

The nim-doc package.

September 2025 nimsuggest 2.2.4-1