NppAIAssistant
A lightweight AI assistant plugin for Notepad++
Visible prompts, modular single-turn profiles, and no hidden memory between requests.
This repository is focused on the plugin itself. It does not carry the full Notepad++ source history, which keeps the project easier to publish, review, package, and release.
- Why It Stands Out
- Security and Settings Storage
- Screenshots
- Build
- Install
- Repository Layout
- Release and Plugins Admin
| Feature | Description |
|---|---|
| Lightweight | Ships as a standard Notepad++ plugin with no core fork |
| Prompt visibility | Live preview of the exact prompt structure in settings |
| No hidden memory | Single-turn conversations with no cross-request context |
| Dynamic models | Model list loads after provider login or API key setup |
| Safer secret storage | Provider secrets now live in local DPAPI storage with legacy migration |
| Context menu | Practical right-click actions for editing workflows |
| Bilingual UI | English and Traditional Chinese support |
- API keys and OAuth tokens are stored in
%LocalAppData%\Notepad++\AIAssistant. - Secret values are protected with Windows DPAPI.
- Non-secret preferences are stored separately in
%AppData%\Notepad++\plugins\config\NppAIAssistant.ini. - Legacy roaming secure blobs are migrated automatically on first launch of the updated build.
- Gemini requests now authenticate with the
x-goog-api-keyheader instead of query-string API keys.
| Prompt preview See the exact prompt being built as you adjust presets and output rules |
Preset-driven prompt builder Switch presets to quickly configure scenario modules and parameters |
![]() |
![]() |
Trigger explanation, refactoring, comments, and fixes directly from the editor.
Visual Studio / MSBuild
& "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe" `
"NppAIAssistant.vcxproj" /p:Configuration=Release /p:Platform=x64 /mCMake
cmake -S . -B build
cmake --build build --config ReleaseExpected output: build/x64/Release/plugins/NppAIAssistant/NppAIAssistant.dll
Copy the built DLL to:
<Notepad++>\plugins\NppAIAssistant\NppAIAssistant.dll
Or run the install script:
scripts/install-npp-ai-plugin.ps1NppAIAssistant/
├── src/ # Plugin source, resources, version info
│ └── shared/ # HTTP, provider API, secure and plain settings storage
├── vendor/
│ ├── notepadpp/ # Vendored plugin & docking headers
│ └── scintilla/include # Scintilla headers for the plugin interface
├── docs/ # Usage guides, release notes, submission docs
└── scripts/ # Install and package helpers
See also:
- Project Structure
- Usage Guide
- Development Log
- Security Remediation Backlog
- Security Verification Checklist
- Plugins Admin Submission Guide
| Item | Path |
|---|---|
| Packaging script | scripts/package-npp-ai-plugin.ps1 |
| Metadata | plugin-admin-metadata.json |
| Submission guide | docs/PLUGIN_ADMIN_SUBMISSION.md |
Recommended release config:
- GitHub release tag:
v0.1.0 - Plugin version:
0.1.0.0 - Release asset:
NppAIAssistant-0.1.0.0-x64.zip
GPL-3.0 · GitHub


