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.
To download version 1.5.1 (2020-01-13), go to the download page on GitHub.
The easiest way to install is to download it through the
Plugins Admin in Notepad++.
To install manually copy
NppSnippets.dll to the
plugins/NppSnippets directory, copy
NppSnippets.sqlite to the
plugins/Config directory in your Notepad++ AppData directory and (re)start Notepad++.
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.
This plugin is released under the GPL2-license. The source code can be found at GitHub.
Here are user provided libraries for everybody to download and use. They are provided as-is. I don't have the knowledge or intention to verify the quality of every library. If you find any real bug in any library please contact the author or me.
The easiest way to use the libraries is to import them into your own database by right-clicking the library combobox and choose
|DocBook||FFes||DocBook is an XML definition to write technical documentation||2016-06-24|
|FictionBook||FFes||FictionBook is an XML definition to create e-books a single XML file||2016-06-24|
|Markdown||FFes||Based on GitHub documentation||2016-03-04|
|RainMeter||eclectic-tech||2 Libraries for creating and editing Rainmeter skin files||2016-09-24|
For the complete release history, including the upcoming changes, see the on-line documentation.