NppSnippets, Snippets plug-in for Notepad++
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.3.0, click here.
Development build There are also development builds available for download. To see what's new check the documentation. Make a backup of the original DLL and your database. Put this DLL at the same place where your current DLL is. If you can't work this out yourself, a development build is probably not for you!
Please know that the 64-bit version of the plug-in is not tested much. And to install it see the manual installation instruction from the documentation.
How to install
NppSnippets.dll to the
plugins directory, copy
NppSnippets.sqlite to the
plugins/Config directory in your AppData 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.
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|
Version 1.3.0 (June 2013)
- Fixed problem with inserting UTF snippets (issue #3).
- Fixed wrong title of Import Library dialog.
- Fixed some potential bugs found when trying to fix GCC compilation.
- Converted the documentation from ODT to DocBook. Because of that an on-line version of the documentation is available as well.
- Upgrade to SQLite version 22.214.171.124
For the complete release history, including the upcoming changes, see the on-line documentation.