Community
    • Login

    Snippets crashes when trying to use "language" drop down

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    4 Posts 3 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ken BaumbachK
      Ken Baumbach
      last edited by

      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!

      Meta ChuhM 1 Reply Last reply Reply Quote 0
      • Meta ChuhM
        Meta Chuh moderator @Ken Baumbach
        last edited by Meta Chuh

        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 to NppSnippets.sqlite


        here’s a screenshot of switching form css2 to for example js basics:

        Imgur

        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.

        1 Reply Last reply Reply Quote 1
        • Ken BaumbachK
          Ken Baumbach
          last edited by

          Yes, that’s exactly what I did. I also uninstalled and reinstalled it with no luck.

          1 Reply Last reply Reply Quote 0
          • Ololadeh LigaliO
            Ololadeh Ligali
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors