Code Monkey home page Code Monkey logo

npp-explorer-plugin's People

Contributors

coral-pease avatar dependabot[bot] avatar funap avatar tylertitsworth avatar vectis99 avatar vlakoff 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  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

[Bug] When Notepad++ starts a GetDpiForWindows error is triggered

Hello, I've used your latest x86 Explorer release at work on Windows 10 Pro x64, with Notepad++ 7.6.3 x86 portable with no problems (other than the Favorites.dat issue I already mentioned).

The fact is that I just ran the very same Notepad++ portable environment on my home machine, Windows 7 Professional x64 SP1, and every time I start Notepad++ with the Explorer plugin active, I receive this error:

image

When I click on OK, a Notepad++ popup appears stating that "The specified procedure could not be found" and that "Explorer.dll is not compatible with the current version of Notepad++".

This is very strange because in my work environment such an issue doesn't occur.

I don't know if this could be related or not, but I'm using a custom Windows DPI set to 117 %.

Idea about when building subtree

Is your feature request related to a problem? Please describe.
This is my 3rd and actually last thought i'd like to share.
What is it about? A bug or issue? Surely not. A feature request? Rather not. More an idea to check if it is feasable:

When building a tree structure with probably deep nesting, trying to create the desired target node, it happens that nodes are created. selected and expanded, the needed child nodes are created. selected and expanded and so on.
This population process is literally visible in explorer plugin forks.

Describe the solution you'd like
From other program contexts / languages i know that it is a well established method to suspend node building painting until the target node had been created.
The keywords (pascal:) are BeginUpdate/EndUpdate, and behind this is SendMessage(treeviewhandle ,WM_SETREDRAW, false/true, 0)

Explorer tools written in C++ do use such method also. Rude logic something like:

  • Create root node(s)
  • SendMessage(m_hTreeView,WM_SETREDRAW,(WPARAM)FALSE,(LPARAM)NULL);
  • Populate desired subtree
  • SendMessage(m_hTreeView,WM_SETREDRAW,(WPARAM)TRUE,(LPARAM)NULL)
    Effect: the control comes up instantly and the desired target node is directly visible, as intermediate paintings are avoided.
    Admittedly, what i do not know at all, is if this is applicable for apps using theming.

But wouldn't it be worthy to try it out? (At the end not more than two SendMessages at the right place).

Additional context
OS is Windows 10 x64, NPP is 8.5 x64 the portable version
The funap explorer plugin is 1.8.2.18, the x64 version.

is possible can be multiple files and folder onto add to favorite?

I need save time to ability quickly multiple files. but I don't want one by one file and manually input 'name' (this would add tick and untick in options). just filename into generated 'name' in add fav itself.

additionally, To ability the select tree-view including group to add fav if you have selected multiple files and folders

I know error says only one file could. but I'm waiting for ability multiple file and folder to favorite feature.

`Quick Open...` command and searching folder

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?

Root folder for documents

It doesn’t allow me to specify which one is ROOT folder. The problem is that if I move into subfolder and perform a search, it will only look at that subfolder and folders below them. I would like it to always search in main (root) folder and below (project folder + subfolders). If I work on a project, root should be main folder, no matter if I move to images/ or any other subfolder.

Can you do this?

Add new command `Clear history of selected folders`

Hi, I see that plugin remember history of selected folders, so we can jump to any place in this history by operate on green button Previous Folder and Next Folder. Problem is that this history is still growing, and after a while the list is very big. History can only be cleared by restarting the program, which is not very practical because it affects the state of other program functions. A separate command to clear this history would be very helpful.

Options won't save in latest NPP

Describe the bug
In NPP 8.4.4 I got and set the checkboxes to remove brackets around folders and not separate extensions, then restart NPP and the settings are back to default.
Only thing odd here is I'm using NPP in it's "portable" installation method. (ie. not installed to window's program files folder)

image

Ability to manually import / export a Favorites.dat file.

Hi, I work on several versions of NPP and I try to somehow share sessions between them. As far as I can see, this plugin keeps session files in a NPP\plugins\config\Favorites.dat file. It is saved when NPP is closed. To share sessions I have to copy this file, make changes to the sessions path location to ralative, and copy it again to different NPP versions (using external tools).

Please consider some solution to this problem, e.g.:

  • Add the possibility to manually export the Favorites.dat file (I mean the current state of the plugin) by using some command (button, context menu or something else).
  • Add the possibility to define path where Favorites.dat file will be import/export (but support also relative path, for example relative to notepad++.exe or .dll plugin file).
  • Add option to change absolute paths to relative for sessions in the Favorites.dat file (same as above, relative to notepad++.exe or plugin .dll file).
  • Add the possibility to manually import the Favorites.dat file (which we exported earlier at the set location) using some command (button, context menu or something else). It would be nice if after importing the plugin panel was also refreshed for the new state (unless it is difficult, then restarting NPP will also do the job).

This is just an idea, and there are probably many other ways to do it. Although the above should not affect the current state, it is rather an extension of it. If you don't need it, you may not use it.

Add tooltip with display number of all items in each session

Please add tooltip with display number of all items in each session in Favorite window. This allows us to quickly check whether a session has all files. This cannot be done directly in NPP because of bug 8338 . Format can be: "This session has xxxx files", or "xxx files", or just "xxx". If it bothers someone, you can give it as an option.

Or maybe this plugin also can add tab counter?

Font Size Option

Because current explorer default font size is small, I suggest should have font size in option for choosing. Thanks

1.8.2.5 release seems to still be 1.8.2.4 - at least that is what it says when right click on 'properties'

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Debug Info
Please paste from Notepad++ debug info. (MenuBar : ? -> Debug Info...)
e.g.:

Notepad++ v7.5.9   (64-bit)
Build time : Oct 14 2018 - 15:19:55
Path : ‪C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll Explorer.dll 

Additional context
Add any other context about the problem here.

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

Explorer filter does not work

Describe the bug
Using the Filter combo box in Explorer dockable does not seem to filter files based on the extension

To Reproduce
Steps to reproduce the behavior:

  1. Open Explorer dockable with a view to a folder with files of different extensions
  2. Apply filter in the Filter combo box of one extension (e.g., *.ico)
  3. Press "Enter"
  4. View is not filtered

Expected behavior
View is filtered to just the "Filter" parameters

Screenshots
image

Debug Info
Notepad++ v8.5.4 (64-bit)
Build time : Aug 1 2023 - 18:08:34
Path : C:\usr\bin\npp64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.3208
Current ANSI codepage : 1252
Plugins :
Explorer (1.8.2.24)

Is there a shortcut to cycle between Explorer/Favorite/Other "bottom bar" items?

Hi I can't seem to find if there's a short to cycle through the bottom sidebar items. For example, if I wanted to quickly go between Explorer and Favorites menu... back and forth. Is it possible to do this?

Edit: I found it in the shortcut mapper, but curious if there's a way to cycle between all the bottom items (i.e if I have Explorer open, and also Document List), if anyone knows.

font is black in tree view for dark theme

image

Notepad++ v8.5.2   (32-bit)
Build time : Oct 14 2018 - 15:19:55
Path : ‪C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 10 (64-bit)

[Feature Request] Add filter in Favorites

    It would be great if you add a filter option in Favorites, because i m using 100 filenames with 20 file group name. It make me scroll often.

a. On Favorites filter , List out the file names while keyword typing, without asking file extension
b. On Explorer filter, If possible, List out the file names while keyword typing, without asking file extension

Expecting similar feature like this: https://github.com/young-developer/nppNavigateTo

NavigateTo_Main
NavigateTo_Search

Thanks in advance.

[Feature] Add more configurable actions to the plugin menu

SherloXplorer, another plugin for Notepad++, has the following menu options:

image

It would be great to implement the following options also in Explorer:

a. "Go To Current Folder"
b. "Go To Current File"

For example, by choosing 'a', the Explorer panel would be shown automatically selecting the folder storing the currently active file. 'b', as an effect, would open the Explorer panel automatically selecting the file associated with the current tab.

Another option could be to add the following menu commands:

c. "Show Explorer"
d. "Show Favorites"

All of these commands could finally be assigned to some keyboard combinations by the user.

Tab in Explorer dockable moves focus until Filter textbox then stops

Describe the bug
The title says is succinctly; with the Explorer dockable open and with focus, the highlight is in the upper directory view pane. Pressing Tab key moves focus to the lower file view pane. Pressing Tab key again moves to the Filter text box. Pressing Tab key again does not return to the upper directory view pane; instead, it just stays in the Filter text box. I also hear a system chime (like an error beep audible sound).

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Explorer' dockable pane
  2. Press Tab key 3 or more times
  3. Focus moves to and remains in the Filter text box

Expected behavior
Starting from the Explorer dockable upper directory view pane, 3 Tab key presses should result in focus cycling through the lower file view pane, Filter text box and returning to the upper directory view pane.

Debug Info
Notepad++ v7.9.5 (64-bit)
Build time : Apr 26 2021 - 23:48:29
Path : C:\usr\bin\npp64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.1500
Current ANSI codepage : 1252
Plugins : Explorer.dll

Explorer plugin = 1.8.2.15

Delete key in Favorites to remove like mouse right-click => Delete menu

Is your feature request related to a problem? Please describe.
No problem - related to #28, can the Delete key be mapped to deleting the current selected Favorite like the right-click mouse Delete menu does?

Describe the solution you'd like
In the Favorites dialogue, pressing the Delete key should delete the currently selected favorite the same way that a right-mouse-click "Delete" selection from the pop-up menu does.

These are just to make keyboard navigation easier.

Cheers.

Enter key in Favorites to activate like mouse double-click

Is your feature request related to a problem? Please describe.
No problem. In the Favorites dialogue, a left mouse double-click activates / opens the favorite link. Using the Enter key to do the same would be desirable.

Describe the solution you'd like
Trap the VK_RETURN to act like left mouse double-click in the Favorites dialogue. Presumably it would be around:

npp-explorer-plugin\Explorer\src\FavesDialog.cpp
478:	LRESULT FavesDialog::runTreeProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
479:	{
480:		switch (Message)
481:		{
482:		case WM_KEYDOWN:
483:			if ((wParam == 'P') && (0 > ::GetKeyState(VK_CONTROL))) {
484:				openQuickOpenDlg();
485:				return TRUE;
486:			}
487:			break;
488:		case WM_LBUTTONDBLCLK:
489:		{

by adding:

if (wParam == VK_RETURN)
{
    ...
]

maybe in the case WM_KEYDOWN:?

Cheers.

In Favorites dont save collapse status after close Notepad++

I click to [-] to collapse Files group tree, and close Notepad++.
But when i start Notepad++ i see that group tree expanded again.

Steps to reproduce the behavior:

  1. Go to Plugins -> Explorer -> Favorites (checkbox enabled)
  2. Add some groups and Link to files
  3. Collapse any group and close Notepad++
  4. Open Notepad++ and See that group not collapsed anymore

Notepad++ v7.7.1 (64-bit)
Build time : Jun 16 2019 - 21:24:47
Path : ‪C:\Program Files\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 10 (64-bit)
Plugins : Explorer.dll (from Explorer_v1.8.2.3_x64.zip)

Filter on Folder names

I'd like to apply filtering on Folder names as well. At the Moment Filtering is only working on file names. Maybe it's a bug or simply a missing feature.
Best regards and congrats for this nice tool

Notepad++ 8.4.2 and greater not showing icons

Describe the bug
I'm testing the latest Notepad++ releases the earliest to exhibit this behavior is notepad-plus-plus/notepad-plus-plus@33ab652

You can see the issue reported there.

To Reproduce
Steps to reproduce the behavior:
Notepad++ should show icons in the lower pane of Explorer plugin, but with the commit artifact referenced above, it does not

Screenshots
WORKING (older version of Notepad++):
image

NOT WORKING (using Notepad++ commit artifact from above):
image

Notice the lower pane in the second image shows no file icons.

Debug Info
Notepad++ v8.4.2 (64-bit)
Build time : Jun 5 2022 - 13:59:10
Path : C:\usr\bin\npp64\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.1706
Current ANSI codepage : 1252
Plugins :
Explorer (1.8.2.17)

Favorites Context menu "delete" does not work on Sessions

Describe the bug
From the Favorites dialog, with a saved session, right-click context menu "Delete" does not delete the selected Session.

To Reproduce
Steps to reproduce the behavior:

  1. Open Notepad++
  2. From the Favorites dialog of the Explorer plugin, right-click "Sessions" and select "Save Current Session..."
  3. Enter a name and enter a link and press "OK"
  4. Notice the session is created.
  5. Right-click on the newly created session and select "Delete"
  6. Notice it is not deleted.

Expected behavior
The "Delete" context menu item should delete saved sessions.

Debug Info
Please paste from Notepad++ debug info. (MenuBar : ? -> Debug Info...)
e.g.:

Notepad++ v8.5.3   (64-bit)
Build time : May 22 2023 - 11:58:16
Path : C:\usr\bin\npp64\notepad++.exe
Command Line : .\ws-client\README.md
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.2965
Current ANSI codepage : 1252
Plugins : 
    Explorer (1.8.2.23)

Newly created file doesn't get indexed

If you create a new file in the folder, Explorer plugin won't be aware of it unless you restart Notepad++. It should automatically detect new/deleted files.

Steps to reproduce:

  1. Open Notepad++
  2. Use "Explorer" plugin to find some files
  3. Now open regular Windows Explorer and create any file (example: test55.txt)
  4. Return to Notepad++ and use "Explorer" plugin to search for "test55.txt". It won't appear on the list unless you restart Notepad++

It seems that plugin is not indexing files in the current folder as they get created/deleted and therefore it is not aware of new files.

Downside to "set root directory"

The downside I see with this is there is no way to tell what the root directory is set at or even if I have set it (long open Notepad++ session and I forget). There is no way to "unset" it, is there - unless setting it to another? How to clear it and get the previous behavior - searching current directory?

Maybe make a Settings dialogue text box that shows what it is set to and if you blank (delete the entry in that text box) it clears it? Also, you could manually set it there by typing it? I do like the feature, just would like to be able to turn it off on occasion I'm not working on a project.

Cheers.

Originally posted by @vinsworldcom in #57 (comment)

Git Icon is not shown on Files on a network drive.

Describe the bug
Explorer shows a green check icons for each files on my local drive but it doesn't show it on a network drive.

To Reproduce
Steps to reproduce the behavior:

  1. create repo on a local drive and on a network drive , both.
    (I did it on D: (Local), V:(Remote)
  2. Open NotePad++ and invoked explorer
  3. Directorys are shown with "green circled check" icon on both local drive and network drive.
  4. But files are just shown with normal file Icon.

notepad-explorer-bug1

Sort order for folders and files with preceding undersore(s)

Describe the bug
At least in german localization, in the most used file explorers items with leading underscores are sorted at the beginning, not at the end of the list. This did lead to some habits, where it is convenient to structure and organize data accordingly. Example.
__savedVersions
_tempStuff
Work1
Work2

Folllowing this habits, it is irritating to not find the data where they are expected to be, but at the end of a list.
It's worthy to notice that folders and files within the listview do meet this expectation. Whereas not withiin the treeview. Here they are sorted at the end of the list.

To Reproduce
Steps to reproduce the behavior:

  1. Create some folders and files with preceding undersore(s)
  2. Look where they are sorted in in the treeview
  3. Compare where they are order in in the listview

Expected behavior
In the treeview elements with preceding underscores are sorted in the beginning, like they do withini the listview

Screenshots
If applicable, add screenshots to help explain your problem.

Debug Info
Notepad++ v8.5 (64-bit)
Build time : Mar 6 2023 - 02:18:13
Path : D:\Test\NPP\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 22H2
OS Build : 19045.2673
Current ANSI codepage : 1252
Plugins :
Explorer (1.8.2.18)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
NPPJSONViewer (2.0.4)```

Additional context
The funap explorer plugin is the x64 version. NPP is 8.5 x64 the portable version

If the issue should be accepted, it might be relevant to know:

In a quite different context / different language i had the same situation, a component that ordered unexpectedly.
But it did allow a custom sort for the sort callback. Here i noticed, that the issue could be resolved by a routine called
"AnsiCompareText" (the name might be meaningful).
I had to constate though that AnsiCompareText behaved noticeably slower than the default sort.
So, i ended up to use a kind of compromise: 'pseudo-code":
if item-to-compare contains "_" then
Compare := AnsiCompareText(S1, S2)
else Compare := DefaultCompareText(S1, S2)

Little visual glitch or intended (dark themes)?

Describe the bug
I'm just trying this explorer plugin fork and would like to ask about three things. I really hope i don't bother!
The first is a little visual glitch (at least at appears to me; but maybe it's intended or i'm in error):
See image: the button representing opening a dropdown - upper right corner - and as well the splitter.
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
1.Set NPP dark mode; (within Settings > preferenes)
2. Settings > Style Configurator -> try any dark theme
3. Check the color of button (upper right corner) and splitter

Expected behavior
Button and splitter colors should look consistent with the theme, Actually for me they don't (appear white).
Is it inteneded? Or did i simply do an error?

Screenshots
If applicable, add screenshots to help explain your problem.
glitch

Debug Info
Notepad++ v8.5 (64-bit)
Build time : Mar 6 2023 - 02:18:13
Path : D:\Test\NPP\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Home (64-bit)
OS Version : 22H2
OS Build : 19045.2673
Current ANSI codepage : 1252
Plugins :
Explorer (1.8.2.18)
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
NPPJSONViewer (2.0.4)


**Additional context**
The funap explorer plugin is the x64 version.  NPP is 8.5 x64 the portable version

[Feature] x86 release

Hello, first of all, thanks for maintaining the useful Explorer plugin.

Would it be possible to also release an x86 version?

Best regards.

File list sorting

It would be very nice and simple to add a sort feature for files. E.g., date created, date modified, size, etc...

Also, when going to favorites from the folders is a click on the heart but going from the favorites one has to go all the way to the bottom to get to the folders. This is kinda annoying. Just add a simple icon for folders on the favorites(ideally where the heart button would be so it acts as a sort of toggle).

Also, ability to go to the folder of a favorites item so one can backtrack. Right mouse on item -> Go to Folder

And the ability to add an open file to the favorites easily(e.g., RMB on tab and select add to favorite(...)).

npp-explorer-plugin not work

Describe the bug
The windows explorer not response when restar the Notepad++(v7.5.8 64-bit) after drop the Explorer.dll into Notepad++'s plugins folder

To Reproduce
Steps to reproduce the behavior:

  1. drop the Explorer.dll into Notepad++'s plugins folder;
  2. close the Notepad++;
  3. restart the Notepad++;
  4. stuck;

Expected behavior
This npp-explorer-plugin can work for Notepad++(v7.5.8 64-bit)

Screenshots
Stuck when click on Notepad++ icon to restart

Desktop (please complete the following information):

  • OS: Windows 7 Enterprise(Service Pack 1)
  • Browser: chrome
  • Version : 69.0.3497.100

Smartphone (please complete the following information):
None

Additional context
Please let me know if need provide more information

`Clear Filter` command does not save changes in `Explorer.ini`

Clear Filter command should save changes in Explorer.ini when we close Notepad++, so after invoke this command we should always have default entry in Explorer.ini:
LastFilter=*.* [FilterHistory] 0=*.*
But actually its not happend. Step to reproduce:

  1. Open Explorer window.
  2. Put a to Filter and press Enter.
  3. Put b to Filter and press Enter.
  4. Close NPP and run NPP.
  5. Invoke Clear Filter from plugin menu. Filter input show only default regex *.*.
  6. Close NPP and run NPP.

Filter history still exist.

Explorer Icons Very Small on high res monitors and not currently scalable

Is your feature request related to a problem? Please describe.
The explorer tool bar is very useful, but on my monitor (3840x2160) the icons are very small and hard to click quickly, perhaps 1/6th the size of the standard Notepad++ icons.

Describe the solution you'd like
Ideally, the icons could be bigger on a display with my resolution and the sizing still work for monitors with various resolutions.

Describe alternatives you've considered
Maybe some sizes could be added to the Explorer Settings or even better, scaling could follow the Notepad ++ scaling in Preferences>General>Toolbar for small or large and/or hide even.

Additional context
Screenshot attached
unnamed

Consider different Alt menu shortcuts

Is your feature request related to a problem? Please describe.
Currently, the menu Alt shortcuts are very much the same leading to several presses of the same key to get to the option wanted. In some cases, there are no Alt shortcuts:

image

One could assign shortcuts to all of them, but a simpler solution is to just make the Alt shortcuts unique. And it's relatively easy.

Describe the solution you'd like
Make the Alt shortcuts unique.

Describe alternatives you've considered
One could assign Notepad++ shortcut keys to each and every item, but one may run out of meaningful Notepad++ shortcuts what with all the other plugins and shortcuts already in use.

Cheers.

Make cleaning session file more flexible

Looks like Explorer plugin does the same as NPP when loading session file (notepad-plus-plus/notepad-plus-plus#7931), i.e. it automatically cleans the session file of nonexistent entries.
It would be better if this behavior could be controlled via additional checkbox in Explorer's option window (like [x] Automatically cleans the session file of nonexistent entries - default checked like now). If we unchecked this option then session files is not cleaned In addition, you can also do:

  1. Add some style for nonexistent entries for each session in [Sessions] group from Favorites window, for example by different icon (red !) or different font color/style (or other distinction). This style can be applied immediately, or when we unfold a session, or whenever we load it (by using Open or Add to Current Session command).
  2. Add additional command to sesions's context menu Cleanup session so we can manually cleanup session whenever we want.

I don't know how Explorer cleanup session file, uses its own solution or uses Notepad++ mechanisms? Even if uses Notepad++ mechanisms then probably it can be bypassed: before invoke NPP command read and remember selected session file, after invoke NPP command check if this session file was modified by NPP and if yes then bring back older state of this session file. After this you can add style for nonexistent entries in Favorites window (if you consider adding such option). The most important is only the option disabling cleaning, the rest is only an optional addition.

Make Command Prompt Here optional PowerShell or CMD.exe

No problem, just noticed your new addition in the latest commits to replace "DOS Prompt" with "Command Prompt Here" and add a menu button in the dockable. I compiled that code, but just replaced the 'cmd.exe' in the ShellExecute() calls with 'powershell.exe' and it works find to launch PowerShell instead. I use PowerShell all the time now over cmd.exe.

A suggestions, perhaps in the options dialog, a radio button to select cmd.exe or powershell.exe and then have your selection be the command prompt that is launched when you press the dockable button or right click the context menu and select "Command Prompt Here"?

Just wanted your thoughts on this idea.

Link Current File does not support UNC paths

Describe the bug
The button "Link Current File..." is disabled when a file from a UNC path is open.

To Reproduce
Steps to reproduce the behavior:

  1. Open a network file using a UNC path (\networkdrive\file.txt)
  2. Cannot click "Link Current File..."

Debug Info
Notepad++ v7.8.9 (32-bit)
Build time : Jul 15 2020 - 20:26:50
Path : E:\Dropbox\Media\Software\PC\Appz\programming\npp\notepad++.exe
Admin mode : ON
Local Conf mode : ON
OS Name : Windows 10 Home (64-bit)
OS Version : 2009
OS Build : 19043.1083
Current ANSI codepage : 1252
Plugins : BetterMultiSelection.dll Explorer.dll HexEditor.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll NppFavorites.dll NppMenuSearch.dll PythonScript.dll Tidy2.dll XMLTools.dll

Additional context
Adding UNC paths with using the "New Link" button work fine.

Deactivate Explorer window with shortcut Ctrl+Alt+Shift+E is failed

Describe the bug
Deactivate Explorer window with shortcut Ctrl+Alt+Shift+E is failed. I have to press menu Plugins->Explorer->Explorer to deactivate the explorer window

To Reproduce
Steps to reproduce the behavior:
(If Explorer Window already opened),

  • Press Ctrl+Alt+Shift+E

Expected behavior
The explorer window should deactivated with shortcut Ctrl+Alt+Shift+E

Debug Info

Notepad++ v7.9.5   (64-bit)
Build time : Mar 21 2021 - 02:13:17
Path : C:\Program Files\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS Name : Windows 7 Ultimate (64-bit) 
OS Build : 7601.0
Current ANSI codepage : 1252
Plugins : Explorer.dll LuaScript.dll mimeTools.dll NppConverter.dll NppExport.dll NppMarkdownPanel.dll 

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.