oviradoi / npp-explorer-plugin

Modified version of the Explorer plugin for Notepad++ that matches its colors with the current theme
62 stars 8 forks source link

Enhancement / New feature Request: replace the current Explorer title bar with an editable address bar and Explore selection feature #45

Open wonkawilly opened 5 months ago

wonkawilly commented 5 months ago

The plugin is interesting and I wish to suggest few little enhancements to it:

  1. Replace the current Npp-Explorer-plugin title bar with an editable address bar where the user can copy/cut/paste the address to go to the path of interest
  2. Subdivide the above address bar in clickable path "slices", one "slice" per directory level (or path depth). So for example if the user is Exploring a deep path like c:\dir\subdir1\subdir2\subdir3\subdir4...\subdirN\, each part between \ and \ is clickable to open that path.
  3. An Explore Selection new feature that allows to click or to right click on a path inside the text content into the opened file to open it in Npp-Explorer-plugin. this feature should be able to open absolute paths and also relative paths: npp-explorer-plugin should simply add the selected string from the text file to the path of the same text file (without the file name of course) and open it for example
  4. c:\dir\subdir1\subdir2\subdir3\subdir4...\subdirN\ is the file path and the selected text is anotherSubdir\ anotherfilename.txt, the plugin gets the path and the selected text and concatenate it as c:\dir\subdir1\subdir2\subdir3\subdir4...\subdirN\anotherSubdir\ anotherfilename.txt and opens the file in N++. If the file c:\dir\subdir1\subdir2\subdir3\subdir4...\subdirN\anotherSubdir\ anotherfilename.txt doesn't exist, a warning is shown to the user and the operation is aborted.
pa-0 commented 4 months ago

I think these are good ideas, although a search bar where the title bar currently resides would be awesome. Maybe one that incorporates voidtool's Everything Search 😃 or, rather a search that returns results in a similar way?