• Login
Community
  • Login

Custom file manager

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 864 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
    deleelee
    last edited by Apr 14, 2024, 10:43 PM

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

    P 1 Reply Last reply Apr 14, 2024, 10:52 PM Reply Quote 0
    • P
      PeterJones @deleelee
      last edited by Apr 14, 2024, 10:52 PM

      @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
      D 1 Reply Last reply Apr 14, 2024, 10:57 PM Reply Quote 1
      • D
        deleelee @PeterJones
        last edited by Apr 14, 2024, 10:57 PM

        @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?

        P 1 Reply Last reply Apr 14, 2024, 11:52 PM Reply Quote 0
        • P
          PeterJones @deleelee
          last edited by PeterJones Apr 14, 2024, 11:56 PM Apr 14, 2024, 11:52 PM

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

          A 1 Reply Last reply Apr 15, 2024, 12:17 PM Reply Quote 0
          • A
            Alan Kilborn @PeterJones
            last edited by Apr 15, 2024, 12:17 PM

            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
            2 out of 5
            • First post
              2/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors