Giter Site home page Giter Site logo

oviradoi / npp-explorer-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kobilutil/npp-explorer-plugin

60.0 60.0 8.0 511 KB

Modified version of the Explorer plugin for Notepad++ that matches its colors with the current theme

C 17.32% C++ 82.68%

npp-explorer-plugin's People

Contributors

chcg avatar kobilutil avatar oviradoi avatar pryrt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

npp-explorer-plugin's Issues

Round file size or display file size as decimal

(Thank you for your plugin, it's exactly what I need!)

Notepad++ v8.3.3 64 Bit on Windows 10, with Explorer Plugin 1.9.4.0. In the Explorer options I have selected "View 'Long' List" and size as "kBytes". The size of an 802-byte file is shown as "0 kB"

Thoughts/ideas:

  • Round the file size up: "1 kB"
  • Display the file size as decimal: "0.8 kB"
  • Only display "0 kB" when the file is truly empty

The new version of the "Explorer" plugin does not see the localization created through the "NativeLang" plugin

This is an old version of the "Explorer" plugin and the localization is visible

11

This is a new version of the "Explorer" plugin and the localization is not visible

22

Notepad++ v7.9 (32-bit)
Build time : Sep 22 2020 - 03:24:22
Path : C:\Users\Uzzer\Tools_Servis\TextCode\NPP++\npp.7.9\npp.7.9.portable\notepad++.exe
Admin mode : ON
Local Conf mode : ON
OS Name : Windows 7 Home Premium (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1251
Plugins : ComparePlugin.dll DSpellCheck.dll Explorer.dll HexEditor.dll HTMLTag_unicode.dll ImgTag.dll JSMinNPP.dll LocationNavigate.dll mimeTools.dll MultiClipboard.dll NativeLang.dll NppConverter.dll NppExport.dll NppMarkdownPanel.dll NppSnippets.dll ShtirlitzNppPlugin.dll Tidy2.dll VisualStudioLineCopy.dll WebEdit.dll WindowManager.dll XMLTools.dll _CustomizeToolbar.dll

Error installing plugin via Plugins Admin

Notepad++ v7.7.1 (32-bit), trying to install Explorer 1.8.6.
OS: Windows Server 2012 R2 Standard 64-bit

I get the following Error on start of Notepad++


C:\Program Files (x86)\Notepad++\plugins\Explorer\Explorer.dll

%1 is not a valid Win32 application.

Explorer.dll is not compatible with the current version of Notepad++.

optional full tree

Is it possible to add an option to display a unique full tree view instead a spitted view (splitted with tree folder and file list) ?
Thanks

Windows dialog out of reach

Hi... In an involuntary movement, just drag the window out of desktop...
Can't reach its title bar with mouse.
Where does this plugin store its windows position configuration?

thanks!

npp_fav

Saved favorites do not open with Return key

The Favorites panel does not open saved favorites in NPP-Explorer panel with keyboard.

Steps to reproduce:

  1. Have already some favorite f.ex. folders added (works only with mouse)
  2. Open Favorites panel with Ctrl+Alt+Shift+V
  3. Select a favorite with Cursor ↓ key
  4. Hit Return key to open folder in NPP-Explorer panel

Current
No reaction

Expected
Folder is shown in Explorer panel

Additional
Opening a saved favorite does only work with mouse

Debug info

Notepad++ v8.3   (32-bit)
Build time : Feb  3 2022 - 03:35:48
Path : P:\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 11 (64-bit) 
OS Version : 2009
OS Build : 22000.469
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll Explorer.dll JSLintNpp.dll JSMinNPP.dll LanguageHelp.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll NppTextFX.dll RegexTrainer.dll RunMe.dll Tidy2.dll 

Suggestion: Auto-Sync folder view with selected file

I want to suggest an auto-sync feature:
When clicking an open file, automatically switch in npp-Explorer-Plugin to its folder.
This suggestion is basically an always enabled "folder of current file" button.

Thank you.

Plugin does not support UNC paths

Plugin seems unable to navigate to UNC paths.

"Go To Path..." does not give an error when presented with a UNC path, it just silently fails to navigate to the path.

View doesn´t open

Hi,
I have a problem with this plugin since I updated N++ to 7.9.2.
It installs without problems. After starting N++ the two icons (Explorer and Favorites) are in the toolbar, but don´t open the Explorer/Favorites-Tree on the lefthand side of the window.
Only the textfield slides maybe 3px to the right, but no Explorer/Favorites Window shows up.
"Hide menu bar" is not active.
Plugin Deinstall + Install new doesn´t solve the problem.

I have the plugin for years, but never had that problem.
Can somebody help please?

Greets

Notepad++ crashes when changing Date Options

Hi there,

when changing the Date Format to "D.M.Y HH:MM" in Explorer Options the whole application crashes. The option reverts back to the default date format after starting Notepad++ again.
I'm using the newest version 1.8.6 and it has worked in the old 1.8.2 version.

Thanks

Feature Request: Make Npp Explorer a slide-out panel with a toggle-button

I think your plugin is awesome - the icing on the npp cake.

That said, my only issue with it is that on a laptop with very little screen "real estate" with which to begin, it can easily get crowded. I find myself constantly dragging the explorer panel in/out (in when I need to use it/out when I need a fuller view of the document in which I am working.

Don't get me wrong though, aside from this minor one UX aspect, there is absolutely nothing about the plugin I dislike. Props to you for making an already great app even more enjoyable experience

Creating a Favorites group with a space in the name leads to Notepad++ freezing

To recreate the issue:

  • Open the Favorites panel.
  • Right-click on [Files], select New Group..., and enter a name with a space in it then click OK..
  • With a file open, click on the Link Current File... button, double-click on [Files], select your group and click OK.
  • Notepad++ will freeze and you will need to forcibly close it. After reopening Notepad++, the newly created group will be gone.

No -/+ expansion icon in New Element dialog for Favorites

When adding a new link or folder by clicking the Link Current File... or *Link Current Folder... buttons, the [Files] and [Folder] icons will not show a -/+ expansion icon next to them if there are additional groups inside them. You can still double-click them, but it's not clear there may be subgroups.

image

On the other hand, if you double-click on them and you have groups with subgroups, those will have a -/+ expansion icon to indicate they have subgroups.

image

Windows environment variables cannot be used

None of Windows environment variables are not expanded in creating a new link:

When trying to add this path %LOCALAPPDATA%\somefile.txt to the favorites, it returns with an error, that the file does not exist even though It does exist.
Same for %onedrive%, etc.

Windows 10, np++ 8.6.5 x64, Explorer 1.9.9

No issue, only a little idea for smoother start

This is no issue, and not severe at all of course. Please take it as a little suggestion.
I always have the explorer control opened when starting NPP.
I noticed that at program start you can see a "little animation" until the tree node selection finally does reach the targeted directory.
All other controls do appear immediately.

From own programs (Delphi) i know that could be avoided by delaying the screen update a bit (suspend intermediate repaints) by simple measures (Items.BeginUpdate/EndUpdate; LockWindowUpdate(treeview.handle), ..) or such. Maybe in CPP there's something similar for child node expanding resp. ScrollIntoView and it could be interesting to try it.

It's only a small idea besides. The prog start (or switching to "folder of current file") might appear smoother by that.
Besides it could be useful if one day "Auto-Sync folder view with selected file" (#30) is considered, which is a good suggestion imo.

Btw the plugin is very cool!

Real time saving

It seems that this plugin only saves the favorites to the .dat file once you exit Notepad++, which seems to be the reason I have lost favorites. So if Notepad++ crashes (as seems more common when using this plugin) you will lose any favorites you have saved since your last non-crash exit. If you haven't already done it, please see if you can save favorites as you create them.

It would also be nice if we could restructure the favorites by moving file shortcuts from one grouping to another, however that is a suggestion for improvement and not a bug.

1.9.6, file list background color for selected items

With update 1.9.5 to 1.9.6 the colors for the file list selection bar was changed:
white font on medium blue background ($00D77800) instead of black font on skyblue background ($00FFE8CE).

At least for me the readability of the selected item(s) does suffer a lot, sigh, i find it harder to read.
Additionally, there is no more a "hover" bg color (hottrack bg color on the lines where the mouse is moving over).

I'd really like to have the "old" behaviour back. But how other than to go back to the 1.9.5? Might that be optional?

See picture attached.

plugin_explorer

Date Fromat and ability to select different columns to show

Would it be possible to add this date format for the settings: M/D/Y HH:MM ?
Also, it would be great if we could select/unselect which column to show/hide. For example, I just want to show the full filename with extension (not without), and the date.
Currently that is not possible.
image

Doesn't show drive letter A

It shows drive B, but not drive A. When a program is unable to list drive letters before C, both A and B are affected normally. And what's special here, too, is that I cannot navigate to A:\ through a symbolic link on another drive.

7.9.1 (64-bit), Windows 10, Explorer 1.9.3

WSL2 compatibility

I can open files with path \WSL$\LINUX-VERSION, but when click on "Folder of current file" cant seeit on the tree
imagen

Error when installing via NPP Plugin manager

When trying to install via the NPP Plugin Manager, I get an error about the hash not being what was expected. See screenshot for more details.

I'm running the 32-bit version of NPP, so not sure if this is expected or not.

Annotation 2019-05-21 102223

Dialog move out of desktop

If moving dialog, undocking it, out of normal desktop, there's no way to moving it back, as drag operation only initiates by the titlebar, not the body of the dialog.

npp_fav

Access violation

Hi,

The plugin does not load with the latest notepad++ releases.

Here is the popup error at notepad++ startup

image

image

Please help

Thanks a lot

Change font size of explorer window

I'm looking for a way to change the font size of the explorer window. On a very high resolution screen (4K), the fonts are too small and almost illegible I have not found a way to increase ONLY the explorer font size.

v1.9.6 dark mode not working

v1.9.6 Colors don't follow Dark Mode in both Favorites and Explorer pane

Capture269

v1.9.5 Colors and Dark Mode work as expected

Capture270

Plugins > Explorer > Help lists wrong website

Plugins Admin directs people to this github as the homepage for this plugin, but the Plugins > Explorer > Help dialog still directs people to the extremely out-of-date sourceforge repo as the homepage.

The Help dialog should be updated to link to this repo to avoid confusion.

image

NPP 8.4.9 -> 8.5: dark mode, missing explorer control repaint after theme change

After updating Notepad++ 8.4.9 to 8.5 i noticed occasionally, that with dark mode the following happens:

changing a theme leads to a missing control repaint. Parts of the control, ie. treeview background and scrollbars, appear to be temporarely painted as by default light theme. See image below. When the style configurator dialog is closed, in parts it gets better. But at the end only a prog restart does fully help.

With NPP 8.5 there had been dark mode fixes, probably those do affect explorer's control redraw at theme switch.

Btw redraw: sadly, there was none reply on #38. You think it's nonsense? Would be very interested to hear.

explorer_broken_darktheme_changex

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

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.

Any way to change Explorer background color?

Hi, the Explorer background color used to be white in an older version. It is now black and I really prefer the white background. Is there a way/option to change it back to white? Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.