• Login
Community
  • Login

"Edit with Notepad++" under Windows 11

Scheduled Pinned Locked Moved General Discussion
12 Posts 10 Posters 30.7k 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.
  • D
    Dennis Pries
    last edited by Oct 6, 2021, 3:33 PM

    Maybe you know it already, but they build a new API for the context menu:

    https://blogs.windows.com/windowsdeveloper/2021/07/19/extending-the-context-menu-and-share-dialog-in-windows-11/

    1 Reply Last reply Reply Quote 4
    • J
      JamesWebb @donho
      last edited by Dec 28, 2021, 2:24 PM

      @donho said in "Edit with Notepad++" under Windows 11:

      I’ve got emails/private messages from users complain about Edit with Notepad++ in the explorer’s context menu under Windows 11.
      I’ll see what I can do about it when I get Windows 11. In the meantime, here’s a solution:
      https://www.tomshardware.com/how-to/windows-11-classic-context-menus

      I don’t use this method (get back classic menu!). I am waiting for “NP++” update to add this option to new Win 11 context menu. If you implement this option to “NP++” would it be practical for “NP++ Portable Minimal” version too. I am using this version since years ago and I added “NP++” to right click with registry hack (it appears by right click on any file type).

      A 1 Reply Last reply Dec 28, 2021, 5:00 PM Reply Quote 0
      • A
        Alan Kilborn @JamesWebb
        last edited by Alan Kilborn Dec 28, 2021, 5:01 PM Dec 28, 2021, 5:00 PM

        @ten2120

        I am waiting for “NP++” update to add this option

        There are so many ways to do this, under the differing OSes that I hope Notepad++ developers DON’T spend their time on something like this. And, given this history, I don’t think they will.

        I added “NP++” to right click with registry hack (it appears by right click on any file type).

        YES! This is the way to go.

        1 Reply Last reply Reply Quote -1
        • S
          Saurav Baral
          last edited by Saurav Baral Jan 1, 2022, 10:19 AM Jan 1, 2022, 10:17 AM

          Hello, will you be able to direct me to the modification that needs to be made to the registry to enable this? The methods I found while googling changed the classic context menu, not the windows 11 one.

          J 1 Reply Last reply Jan 27, 2022, 8:18 AM Reply Quote 0
          • J
            JamesWebb @Saurav Baral
            last edited by JamesWebb Jan 27, 2022, 8:21 AM Jan 27, 2022, 8:18 AM

            @saurav-baral They didn’t implement NP++ to new Win 11 context menu yet, but you can bring back classic (Win 10) context menu and add NP++ to that (“How to …” link below):

            https://bit.ly/3nZrAiU

            1 Reply Last reply Reply Quote 2
            • D
              David 3
              last edited by Feb 5, 2022, 5:56 AM

              A workaround is to use these reg keys:

              [HKEY_CLASSES_ROOT\*\shell\pintohome]
              "MUIVerb"="Edit with Notepad++"
              
              [HKEY_CLASSES_ROOT\*\shell\pintohome\command]
              (Default)="<npp install path>\notepad++.exe" "%1"
              

              Works like a charm for me. The only thing is that we cannot change the icon.

              Idea taken from here:
              https://github.com/microsoft/vscode/issues/127365#issuecomment-1027855938

              J H 2 Replies Last reply Feb 11, 2022, 11:34 AM Reply Quote 1
              • J
                JamesWebb @David 3
                last edited by Feb 11, 2022, 11:34 AM

                @david-3 Many thanks. Just the “Quick Access” icon! I had tried some tweaks in “registry” to change it too but didn’t work yet. If I solve the problem (icon) I would share it here.

                1 Reply Last reply Reply Quote 0
                • H
                  highlander01 @David 3
                  last edited by May 17, 2022, 3:02 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • C
                    Christian Sennhauser
                    last edited by Nov 15, 2022, 4:56 PM

                    May be enough for some of you, until it’s integrated to NPP:
                    You can use “Shift”+“Right-Click” to open the Classic Menu directly, without any other modification/Registry-Hack…

                    Regards
                    Christian

                    1 Reply Last reply Reply Quote 0
                    • B
                      Bilbo47
                      last edited by Nov 15, 2022, 9:50 PM

                      Other terrific options:

                      • FileMenu Tools by LopeSoft
                      • Types File Type Editor by Evgeny Strunnikov
                      P 1 Reply Last reply Nov 15, 2022, 9:53 PM Reply Quote 0
                      • P
                        PeterJones @Bilbo47
                        last edited by PeterJones Nov 19, 2022, 10:09 PM Nov 15, 2022, 9:53 PM

                        We do not need a list of additional tools which hack the registry in some form or another (especially when those link to tools that were designed in the WinXP era, so will not work on Windows 11 for the same reason that the Notepad++ registry settings does not work on Windows 11).

                        The correct solutions for Windows 11 are

                        • Shift+RightClick in Windows Explorer does not work in all versions of Win 11
                        • Shift+F10 in Windows Explorer
                        • The registry edits recommended in this discussion and in the Notepad++ Online User Manual at https://npp-user-manual.org/docs/other-resources/#windows-11-right-click-workarounds

                        To avoid this discussion becoming a spammy list of links, it is being locked.

                        1 Reply Last reply Reply Quote 1
                        • P PeterJones locked this topic on Nov 15, 2022, 9:53 PM
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors