Community
    • Login

    Lost Edit>Blanks>"Trim Trailing Space" Shortcut (Alt+Shift+S) in v8.5.7 upgrade - Fix?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 129 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.
    • Doc FarmerD
      Doc Farmer
      last edited by

      Company upgraded system-wide to 8.5.7. Before that, I was able to shortcut the Trim Trailing Space process to a simple Alt+Shift+S instead of using the drop-down menus. Now when I try that combo, I get the Find drop-down from the menu bar with Ctrl-F highlighted.

      Is there a new shortcut for Edit>Blanks>Trim Trailing Space? If so, what is it? If not, when will it (in some form or other) return? It’s a very useful shortcut, and I’m hoping it is still available or will be put into a future version.

      Many thanks.

      Tags: Shortcut, Blanks, Trim, Trailing, Space.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Doc Farmer
        last edited by

        @Doc-Farmer ,

        Is there a new shortcut for Edit>Blanks>Trim Trailing Space?

        v8.5.7 was from November 2023 – a year ago. Do you really mean that, or do you mean the most-recent v8.7.5 from December 2025?

        Regardless, Edit > Blanks > Trim Trailing Space does not have a default shortcut in either v8.5.7 or v8.7.5 – the Alt+Shift+S keystroke is assigned to Macro > Trim Trailing Space And Save in both v8.5.7 and v8.7.5.

        I suggest you look at both menus to see if either says that, or if not there, then Preferences > Shortcut Mapper: filter for trim on the Main menu tab to see Trim Trailing Space, and filter for trim on the Macros tab to see Trim Trailing Space and Save:

        accc074f-c88c-4967-9c6b-18c28d3da1f2-image.png 7a1a2b8b-e016-4c38-a999-aad4130d7f17-image.png

        I get the Find drop-down

        Do you mean the Search menu drop-down? If so, then my guess is that your keyboard isn’t correctly sending the Shift when doing Alt+Shift+S (maybe an intermittent problem with that key on your keyboard), because Alt+S is the Windows OS “menu accelerator” sequence for "the menu with the accelerator S, which in Notepad++ is the Search menu – so that says that Notepad++ is hearing Alt+S instead of Alt+Shift+S from the OS.

        Though it is possible all your shortcuts got cleared – for example, if %AppData%\Notepad++\shortcuts.xml somehow got deleted or corrupted for you, then the Macro wouldn’t be there anymore and thus nothing would be assigned to that sequence, at which point I believe that Notepad++ would fall back to pretending the Shift wasn’t in your sequence and interpret it as Alt+S for the Search menu. If it did get cleared, you should be able to exit Notepad++, copy the one from C:\Program Files\Notepad++\shortcuts.xml to %AppData%\Notepad++\shortcuts.xml , and then run Notepad++ again, and the shortcuts and macros should all be back to their defaults.

        So my guess is that the problem is that you misremembered, and you’ve really been doing Trim Trailing Space and Save macro shortcut, and that now your Shift key isn’t coming through, or that your shorcuts.xml got cleared.

        All that said, with the Shortcut Mapper, you can change the shortcut for either of the actions I’ve mentioned, or most other menu entries, to whatever you like.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors