-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the installation instructions
Fixes #50
- Loading branch information
Showing
1 changed file
with
7 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,18 @@ | ||
How to install or upgrade | ||
========================= | ||
|
||
The easiest way to install this plugin is by using the Plugin Manager: | ||
from the "Plugins" menu, choose the "Plugin Manager" and "Show Plugin | ||
Manager". Select the "Snippets" plugin and choose "install" and follow | ||
the instructions on the screen. | ||
The easiest way to install this plugin is by using the Plugins Admin. | ||
From the "Plugins" menu, choose the "Plugins Admin". | ||
Search for "Snippets" plugin, choose "install" and follow the instructions on the screen. | ||
|
||
To manually install the plugin, copy ``NppSnippets.dll`` to the | ||
``plugins`` directory and copy ``Template.sqlite`` to the | ||
``plugins/config`` directory in the user's "Application Data" directory | ||
and name it ``NppSnippets.sqlite``. On my Windows 7 machine this | ||
directory is ``C:\Users\Frank\AppData\Roaming\Notepad++\plugins\config``. | ||
To manually install the plugin, copy all the files in archive to the ``plugins/NppSnippets`` directory | ||
in the Notepad++ installation directory typically in the ``Program Files`` directory. | ||
You may need to create that directory. | ||
Then (re)start Notepad++. | ||
|
||
You can place the database in the ``plugins/config`` directory in the | ||
Notepad++ installation directory typically in the ``Program Files`` | ||
directory, but this could result in a read-only database due to file | ||
permissions and/or User Account Control (UAC). Therefore it is advised | ||
to put it in your ``AppData`` directory. | ||
|
||
From `issue #9`_: | ||
I noticed when I change files with different languages of my progect it takes 2-3 seconds delay when plugin load snippets for this language (for example HTML to PHP). | ||
|
||
You can also specify a custom path (like a shared network path or your | ||
Dropbox directory) for your database by manually editing the | ||
``NppSnippets.ini`` file and adding a ``DBFile`` entry pointing to the | ||
full path name of the database. The ``NppSnippets.ini`` is normally in | ||
your ``AppData`` directory. | ||
|
||
When you automatically upgrade through the Plugin Manager your database | ||
When you automatically upgrade through the Plugin Admin your database | ||
is not touched. If you are manually upgrading at least replace the | ||
existing dll. It is up to you if you override your own database with the | ||
template database provided in the archive. If you have not changed | ||
existing snippets or added your own, it is recommended to use the | ||
database in the archive. | ||
|
||
|
||
.. _issue #9: https://github.com/ffes/nppsnippets/issues/9 |