npp-explorer-plugin icon indicating copy to clipboard operation
npp-explorer-plugin copied to clipboard

`Quick Open...` command and searching folder

Open ArkadiuszMichalski opened this issue 4 years ago • 3 comments

Looks like starting folder for Quick Open... command is folder selected in Explorer window. But what if someone don't use Explorer window (its off) and still want use Quick Open... functionality? There is no other way to change starting folder. Maybe add another command Quick Open for current file... where starting folder for searching will be folder where current selected file exist?

ArkadiuszMichalski avatar Feb 12 '20 22:02 ArkadiuszMichalski

In the meantime, a possible workaround:

  1. Run Go to Current Folder command.
  2. Run Explorer... command if you want close Explorer window.
  3. Run Quick Open command.

This three above command can be collapsed to one command via some scripting environment for NPP (like NPPExec, jN, PythonScript or LuaScript).

ArkadiuszMichalski avatar Feb 14 '20 13:02 ArkadiuszMichalski

Hi @ArkadiuszMichalski Thank you for the valuable proposal.

In the future, I am thinking to enumerate the favorites files and the files opened in the tab. (#10)

Quick Open for current file ... is also a good idea :) I'm still debating.

  • Is it convenient for you to list everything in the result?
  • Or is it more convenient to separate menu?

could you let me know your opinion.

funap avatar Feb 15 '20 01:02 funap

Hard to say, as always, everything depends on what and how someone uses it. It's best to do separate commands and one bulk (which searches everything) and let everyone choose. On the other hand, you can do one command, but in the settings, for example, create a new group, where you can use [] to choose what should be considered for Quick Open.

ArkadiuszMichalski avatar Feb 16 '20 13:02 ArkadiuszMichalski