Skip to content

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nim2_ide

Notepad++ plug-in IDE for Nim v2 programming language

Features

  • Multi-pass highlighting

    Syntax highlighting superimposed with compiler symbols.

  • Full syntax highlighting

    Highlight more Nim features than other lexers.

  • Unicode lexer

    Highlight Nim unicode operators.

  • Zero-config multi-thread backend

    No LSP bloat.

  • One nimsuggest per project

    Efficiently share nimsuggest among multiple tabs and views.

  • Advanced features

    • Project aware
    • Context aware, intelligent code completion
    • Call tips
    • Real-time code analysis
    • Detailed code analysis (on file save)
    • Highlight "compiler" symbols (on scroll)
    • Hover (with mouse) for definition
    • Go to definition (on click)
    • Symbol usages
    • Pretty format
    • Compile project or file
  • Code folding

  • Toggle features on / off

Requirements

  • Notepad++ x64 v8 (8.9.5 - 8.9.9)
  • For advanced features: Nim v2 (2.0.16, 2.2.6 - 2.2.14, 2.4.2) IDE tools in your path
  • Disk space
    • Notepad++ "plugins" directory: 108 KB
    • Temporary directory: 4 KB (minimum)
  • Memory: ~600 KB (minimum)

Limitations

  • Not compatible with other plug-in's written in Nim
  • Some features not compatible with Notepad++ auto-completion
  • No code analysis while using "Search > Replace..."
  • Limited features upon "File > New" until saved to file
  • Limited features in Notepad++ split-view "Other view"

Installation

nim2_ide is available for personal use under the NPUL license.

By downloading, you agree to the terms and conditions of the respective license.

  1. Download from GitHub "Releases"
  2. Extract and copy files to your Notepad++ plugins directory:
cd "C:\Program Files\Notepad++\plugins"
mkdir nim2_ide
copy nim2_ide.dll nim2_ide\nim2_ide.dll
copy nim2_ide.xml Config\nim2_ide.xml
  1. Restart Notepad++

Uninstallation

  1. Exit Notepad++
  2. Remove files from Notepad++ plugins directory:
cd "C:\Program Files\Notepad++\plugins"
del nim2_ide\nim2_ide.dll Config\nim2_ide.xml

Notepad++ Configuration

  1. Disable auto-completion in Settings > Preferences... > Auto-Completion
  2. Switch to a dark theme in Settings > Style Configurator...
  3. Select Nim 2 in Language > N... to activate plug-in for current tab

Optional

  1. Toggle features by un/checking items in Plugins > Nim2 IDE
  2. Customize shortcuts in Macros > Modify Shortcut/Delete Macro... > Plugin commands