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.
    • donhoD
      donho
      last edited by

      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

      JamesWebbJ 1 Reply Last reply Reply Quote 2
      • Dennis PriesD
        Dennis Pries
        last edited by

        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
        • JamesWebbJ
          JamesWebb @donho
          last edited by

          @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).

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @JamesWebb
            last edited by Alan Kilborn

            @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
            • Saurav BaralS
              Saurav Baral
              last edited by Saurav Baral

              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.

              JamesWebbJ 1 Reply Last reply Reply Quote 0
              • JamesWebbJ
                JamesWebb @Saurav Baral
                last edited by JamesWebb

                @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
                • David 3D
                  David 3
                  last edited by

                  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

                  JamesWebbJ H 2 Replies Last reply Reply Quote 1
                  • JamesWebbJ
                    JamesWebb @David 3
                    last edited by

                    @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

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Christian SennhauserC
                        Christian Sennhauser
                        last edited by

                        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
                        • Bilbo47B
                          Bilbo47
                          last edited by

                          Other terrific options:

                          • FileMenu Tools by LopeSoft
                          • Types File Type Editor by Evgeny Strunnikov
                          PeterJonesP 1 Reply Last reply Reply Quote 0
                          • PeterJonesP
                            PeterJones @Bilbo47
                            last edited by PeterJones

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