Nim

Code Style

To specify preferences for the Nim editor (experimental):

  1. Go to Preferences > Nim.
  2. In Custom settings, select the settings to modify, and then select Copy.

    Code Style tab in Nim preferences

  3. Give a name to the settings, and select OK.
  4. Specify how to interpret the Tab key presses and how to align continuation lines.
  5. Select OK to save the settings.

To specify different settings for a particular project, select Projects > Code Style.

Tools

You can use the Nimsuggest tool to query .nim source files and obtain suggestions for code completion.

To use Nimsuggest, you must install it on the development PC and enter the path to the tool executable in Path.

Tools tab in Nim preferences

See also Add code snippets to the auto-complete menu, Complete code, Find preferences, Indent text or code, Specify code style, Completion, Nimble, and Snippets.