Community
    • Login

    Custom file manager

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 526 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.
    • deleeleeD
      deleelee
      last edited by

      Is there any way to set a custom file manager for actions like “Open containing folder”?

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

        @deleelee ,

        Is there any way to set a custom file manager for actions like “Open containing folder”?

        No.

        But you could do something similar using the Run menu. Saving a Run-command of "c:\path\to\filemanager.exe" "$(CURRENT_DIRECTORY)" (or whatever syntax your file manager uses to open in a specific directory), and optionally giving it a keyboard shortcut, would allow you to launch the filemanager in the directory of the active file.

        And the editor’s right-click Context Menu and the tab-bar’s Tab Context Menu allow you to call the Run-menu entry from the right-click context menus. The syntax for mapping to a macro named “MyManager” would be <Item MenuEntryName="Run" MenuItemName="MyManager"/>

        References

        • UserDefined Command syntax
        • Context Menu
        • Tab Context Menu
        deleeleeD 1 Reply Last reply Reply Quote 1
        • deleeleeD
          deleelee @PeterJones
          last edited by

          @PeterJones said in Custom file manager:

          No.

          But you could do something similar using the Run menu. Saving a Run-command of "c:\path\to\filemanager.exe" "$(CURRENT_DIRECTORY)" (or whatever syntax your file manager uses to open in a specific directory), and optionally giving it a keyboard shortcut, would allow you to launch the filemanager in the directory of the active file.

          And the editor’s right-click Context Menu and the tab-bar’s Tab Context Menu allow you to call the Run-menu entry from the right-click context menus. The syntax for mapping to a macro named “MyManager” would be <Item MenuEntryName="Run" MenuItemName="MyManager"/>

          References

          • UserDefined Command syntax
          • Context Menu
          • Tab Context Menu

          Thanks Peter, I’ll take a look at that. Just for interest’s sake, is there any particular reason it isn’t possible to set a custom file manager?

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

            @deleelee said in Custom file manager:

            is there any particular reason it isn’t possible to set a custom file manager?

            My guess: either because no one has made an official feature request for it 🛈; or someone has, but the developer didn’t think it was worth doing. You can search the existing issues – open or closed – to see if someone else has requested it.

            (Back in 2019, someone requested that “open in > cmd” be customizable, so he added the hidden option to set the commandLineInterpreter … So it’s not unreasonable to hope that the developer would similarly make a hidden option to change teh open-containing-folder action. But someone would have to ask.)

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

              is there any particular reason it isn’t possible to set a custom file manager?

              It IS possible, you just have to follow Peter’s suggestions.
              Of course, you probably mean some nice UI way of doing it…so, yes, that would involve a feature request and a hope that it gets implemented.

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