Community
    • Login

    Snippets crashes when trying to use "language" drop down

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    4 Posts 3 Posters 1.7k Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            Ololadeh Ligali
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors