NppSnippets, Snippets plug-in for Notepad++

Introduction

NppSnippets is a plug-in for Notepad++. It adds the possibility to add code snippets to the current document by simply selecting it from a list.

Download

To download version 1.7.1 (2022-10-04), go to the download page on GitHub.

How to install

The easiest way to install is to download it through the Plugins Admin in Notepad++.

To install manually copy all the files in the archive to the plugins/NppSnippets directory and (re)start Notepad++.

How to use

To open the Snippets window, click on the "Jigsaw" button on the toolbar, or via the menu "Plugins" ➡ "Snippets" ➡ "Snippets".

The window consist of two parts. A combo where you can select the library and underneath there is the list of snippets in the chosen library. To insert a snippet simply double click on the item in the list and the snippet is inserted at the current cursor position.

When you switch to another document with another language the snippets for that new language are read from the database.

To add or edit a snippet, right-click the snippet in the list and edit. To add or edit a library right-click the combo-box where you select the current library.

For more more information see the on-line documentation.

License

This plugin is released under the GPL2-license. The source code can be found at GitHub.

For the complete release history, including the upcoming changes, see the on-line documentation.