Open KrashTestDumby opened 6 years ago
Addendum: Suddenly, after at least 2 computer reboots, untold multiple open and closes of NPP, and 2 days later, not only are my snippets back but I now have a copy for each and every attempt to import them!
Screen shot provided.
Addendum #2: I closed NPP. I re-opened. My snippets have disappeared, AGAIN!!!
Second screen shot supplied.
Me too (just so you know it isn't an isolated incident).
I close Notepad++ restore a backup copy of NppSnippits.ini and NppSnippets.sqlite to my:
C:\Users\
Notepad++ v8.4.4 (64-bit) Build time : Jul 15 2022 - 17:54:42 Path : C:\Program Files\Notepad++\notepad++.exe Command Line : Admin mode : OFF Local Conf mode : OFF Cloud Config : OFF OS Name : Windows 10 Enterprise (64-bit) OS Version : 20H2 OS Build : 19042.1826 Current ANSI codepage : 1252 Plugins : mimeTools (2.8) NppConverter (4.4) NppExport (0.4) NppSnippets (1.7) XMLTools (3.1.1.13)
Updating notepad++ causes all snippets to be deleted. Please, add a warning to the installer: "!WARNING: Backup your snippets before updating notepad++ or they will be deleted!" Also, I have no idea how to backup snippets. An outdated article on SO says "C:\Users\%username%\AppData\Roaming\Notepad++\plugins\config\snippets.xml"; however, only NppSnippets.sqlite and .ini exist.
To be fair, EVERYONE should have a SETTINGSBAK file on all of their systems: extremely important. It's just a lot to juggle. I hope a lot of people see this BEFORE they lose hundreds of hours of notes.
Similar issue here on npp v8.5.2. The list will be blank for some tabs and populate for others, even when the extension is the same for all files.
Great plugin while it works, but I might need to shift to a different solution. Prob AHK.
NP++ v8.6 @ 64bits
I installed it and got all my Snippets deleted. How come? Is there a way to restore them or alike?
Notepad++ v7.5.6 (64 bit) Snippet v1.4.0 (24 May 2017) After months of creating and backing-up my snippets, I just lost them all!
► Yes, I used Snippet to “backup” my libraries. ► Yes, I asked Snippet to load my libraries from the backup. ► No, it didn’t load my snippets. ► Yes, I tried closing/re-opening Notepad++. ► Yes, I tried rebooting (cold boot) the system, and repeating the imports and restarts. ► Yes, if I open the backup sqlite library in ‘DB Browser for SQLite’ or 'SQLiteStudio ’ all my libraries and all my snippets are in there. ► Yes, I’ve uninstalled and reinstalled the Snippet plugin (including deleting the associated pulgin directory), and tried importing my backups. ► Yes, I’ve tried renaming Snippet’s “Template.sqlite” to “TemplateBKUP.sqlite” and directly copying/renaming one of my backups, and no that didn’t work.
I also noted while using the SQLite tools, numerous libraries are included with the default database. I can only get two to load: ANSI Characters and Templates.
Attached a copy of my exported snippets.
mySnipets.sqlite.gz