NIMSUGGEST(1)

πŸ’… NIMSUGGEST(1) β€” like, the user commands era πŸŽ€

okay bestie, so this is nimsuggest(1) from the User Commands shelf, and honestly? it's a whole vibe. it's the little guy that gives every editor IDE-like capabilities for Nim ✨ no cap, that's literally its job description.


πŸ¦‹ NAME πŸ¦‹

nimsuggest β€” Nimsuggest, the main character herself πŸ’–


🌸 DESCRIPTION 🌸

Nimsuggest β€” the tool that hands your editor full-on IDE energy. That's it, that's the pitch πŸ‘‘

usage goes a little something like this:

nimsuggest [options] projectfile.nim

like, you give it a project file and it does the rest. we love a low-maintenance icon 🫢


✨ OPTIONS ✨

  • --autobind β€” automatically binds itself into a free port (it finds its own lil home 🏑)
  • --port:PORT β€” the port, bestie. default is 6000
  • --address:HOST β€” binds to that address. default is "" (yes, empty string, she's mysterious like that πŸ™ˆ)
  • --stdin β€” reads commands from stdin and writes results to stdout instead of using sockets. no sockets, no drama πŸ’…
  • --clientProcessId:PID β€” nimsuggest shuts itself down if this process dies. ride or die, literally πŸ’€
  • --epc β€” use emacs epc mode
  • --debug β€” enable debug output
  • --log β€” enable verbose logging to the nimsuggest.log file πŸ“
  • --v1 β€” use version 1 of the protocol; for backwards compatibility
  • --v2 β€” use version 2 (this one's the default πŸ‘‘) of the protocol
  • --v3 β€” use version 3 of the protocol
  • --v4 β€” use version 4 of the protocol
  • --info:X β€” information
    • --info:nimVer β€” returns the Nim compiler version that nimsuggest uses internally
    • --info:protocolVer β€” returns the newest protocol version that is supported
    • --info:capabilities β€” returns the capabilities supported by nimsuggest
  • --refresh β€” performs automatic refreshes to keep the analysis precise πŸ”₯
  • --maxresults:N β€” caps the number of suggestions at 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 turns exception inlay hints on|off

The server then listens to the connection and takes line-based commands β€” that's the whole loop, she's just sitting there being attentive 🧚

If --autobind is used, the binded port number will be printed to stdout. so like, watch stdout for the number, ikyk πŸ‘€

also!! in addition, all command line options of Nim that do not affect code generation are supported. free real estate, we love to see it πŸ’œ

that's the whole page, bestie. slay, ate, periodt πŸŒˆπŸ’–

nimsuggest 2.2.12 Β· September 2026 β€” mwah, signed, sealed, delivered, and yes the date is giving time traveler πŸŽ€βœ¨

πŸ“¦ where this page comes from