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.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

Copy 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.

License

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

Libraries

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 Import library...

Library By Description Last update
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

Release history

Version 1.3.0 (June 2013)

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