nimsuggest(1)

nimsuggest1

Nimsuggest

Overview

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

nimsuggest [options] projectfile.nim

Options

--autobind

automatically binds into a free port

--port:PORT

port, by default 6000

--address:HOST

binds to that address, by default ""

--stdin

read commands from stdin and write results to stdout instead of using sockets

--clientProcessId:PID

shutdown nimsuggest in case this process dies

--epc

use emacs epc mode

--debug

enable debug output

--log

enable verbose logging to nimsuggest.log file

--v1

use version 1 of the protocol; for backwards compatibility

--v2

use version 2(default) of the protocol

--v3

use version 3 of the protocol

--v4

use version 4 of the protocol

--info:X

information

--info:nimVer

return the Nim compiler version that nimsuggest uses internally

--info:protocolVer

return the newest protocol version that is supported

--info:capabilities

return the capabilities supported by nimsuggest

--refresh

perform automatic refreshes to keep the analysis precise

--maxresults:N

limit the number of suggestions to N

--tester

implies --stdin and outputs a line '!EOF!' for the tester

--find

attempts to find the project file of the current project

--exceptionInlayHints:on|off

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. Arch

--autobind since Debian 11 (Bullseye); --debug since Debian 10 (Buster); --epc since Debian 10 (Buster); --find since Debian 11 (Bullseye); --log since Debian 10 (Buster); --refresh since Debian 10 (Buster); --stdin since Debian 10 (Buster); --tester since Debian 10 (Buster); --v1 since Debian 10 (Buster); --v2 since Debian 12 (Bookworm); --v3 since Debian 12 (Bookworm); --v4 since Arch Linux 2026-11-01.

--advanced until Debian 9 (Stretch); --forceBuild until Debian 9 (Stretch); --help until Debian 9 (Stretch); --run until Debian 9 (Stretch); -f until Debian 9 (Stretch); -h until Debian 9 (Stretch); -r until Debian 9 (Stretch).

From nim 2.2.12-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.