Snippets crashes when trying to use "language" drop down
-
Hey all,
I finally got Snippets to work (I thought) by renaming the template.sqlite file and moving it to the Config folder. I shut down and reopened N++ and the Snippets frame appeared on the right, but when I try to change the drop down from CSS2 Tags to anything else I get “Notepad++ has stopped working” and the Close Program button as the only option. It’s v.7.6.3. and Snippets v1.4.
Any ideas? Thanks!
-
welcome to the notepad++ community, @Ken-Baumbach
the way you’ve installed your snippets 1.4 plugin and NppSnippet.sqlite on notepad++ 7.6.3 seems to be correct.
usually it works fine on a clean, non corrupted NppSnippet.sqlite database.
but just in case there’s something missing, or too much on your setup, here’s the current guide for notepad++ 7.6.3:how to install snippets 1.4 (NppSnippets) on notepad++ 7.6.3:
(note: the paths in this guide are for the installed versions of notepad++, the paths of a portable version depend on where the portable folder is placed)
-
install snippets 1.4 using the built in plugins admin from the menu
plugins > plugins admin
-
after installation you will see
unable to find database, check your installation!
press ok to continue and close notepad++ -
open an explorer window and enter one of the following addresses, depending on your notepad++ installation.
notepad++ 32 bit on 64 bit windows:%ProgramFiles(x86)%\Notepad++\plugins\NppSnippets\NppSnippets\
notepad++ 32 bit on 32 bit windows:%ProgramFiles%\Notepad++\plugins\NppSnippets\NppSnippets\
notepad++ 64 bit on 64 bit windows:%ProgramFiles%\Notepad++\plugins\NppSnippets\NppSnippets\
notepad++ 64 bit on 32 bit windows:mission_impossible
😉 -
copy
Template.sqlite
from this folder to%AppData%\Notepad++\plugins\config
-
rename
Template.sqlite
toNppSnippets.sqlite
here’s a screenshot of switching form css2 to for example js basics:
note:
the author is currently working on nppsnippets 1.5 that also resolves some minor issues with the newer notepad++ versions, including the missing auto creation of nppsnippets.sqlite at the correct location, using the existing template.sqlite. -
-
Yes, that’s exactly what I did. I also uninstalled and reinstalled it with no luck.
-
This post is deleted!