Community
    • Login

    Is there a Hot key combo for "Clear all Bookmarks"

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 990 Views 2 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.
    • N8 HoltN Offline
      N8 Holt
      last edited by

      It would be convenient for me as I step through a sizeable source code file, setting bookmarks along the way, to be able to optionally set a bookmark when I find a key point in the program but quickly (hot key) be able to first clear all of the trailing bookmarks accumulated up to that point in time.

      Terry RT mkupperM 2 Replies Last reply Reply Quote 0
      • Terry RT Offline
        Terry R @N8 Holt
        last edited by

        @N8-Holt

        Yes, you use shortcut mapper to add in a shortcut for this function.

        Terry

        Alan KilbornA 1 Reply Last reply Reply Quote 1
        • Alan KilbornA Offline
          Alan Kilborn @Terry R
          last edited by Alan Kilborn

          @Terry-R said:

          Yes,

          Your “Yes” seems like a direct answer to the question posed in the topic title.
          Should have been “No, but you can…”


          @N8-Holt

          Having this on a keycombo that is easy to hit is dangerous (because it could accidentally happen), as it isn’t an undoable action!

          1 Reply Last reply Reply Quote 0
          • mkupperM Offline
            mkupper @N8 Holt
            last edited by mkupper

            @N8-Holt said in Is there a Hot key combo for "Clear all Bookmarks":

            It would be convenient for me as I step through a sizeable source code file, setting bookmarks along the way, to be able to optionally set a bookmark when I find a key point in the program but quickly (hot key) be able to first clear all of the trailing bookmarks accumulated up to that point in time.

            One of the things about this that’s giving me pause is that bookmarks are semi-persistent. They are stored in the session.xml file. As long as you keep a file or tab open in Notepad++ then the editor will remember the bookmarks when you close or exit Notepad++ and restart it. However, if you close a tab and then immediately re-open it using the recently closed file list then all of the bookmarks for that file are gone.

            That said, I’m wondering what you mean by “trailing bookmarks accumulated up to that point in time.” Let’s say you start Notepad++ and see that there are already five bookmarks in a file. You add three more. Would you expect this “clear” function to remove the three you added in this session or would you expect it to clear all eight bookmarks, or do you want to clear some other subset of the bookmarks?

            The thing @Terry-R suggested is to add a keyboard shortcut to the Search / Bookmark / Clear all bookmarks function. You may want to start out by first getting used to holding the Alt key down and then tapping the letters S B C followed by Enter. That will navigate to and use Notepad++'s Clear all bookmarks function if that is the thing you are seeking.

            If you are not seeking to clear all bookmarks then the answer is “no” to the original question but please provide more information as it may well be possible to work out a way to define and clear a subset of the bookmarks.

            1 Reply Last reply Reply Quote 1

            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