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.sqlitefrom this folder to%AppData%\Notepad++\plugins\config -
rename
Template.sqlitetoNppSnippets.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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login