different behavior of commands in right click menu of explorer
#176.075 aperta il 3 mar 2023
Metriche repository
- Star
- (74.848 star)
- Metriche merge PR
- (Merge medio 11h 43m) (1000 PR mergiate in 30 g)
Descrizione
- VS Code Version: 1.76.0
- OS Version: windows10
This issue is about the different behavior of commands in right click menu of explorer
There are two different parts in this issue:
-
- when right clicking in explorer where there is no folder
-
- when selecting a folder in explorer but right clicking somewhere that there is no folder
I checked all of the actions happen after each option in the menu and here is the result:
When no folder is selected:
-
New file...: works on first folder of workspace -
New folder...: works on first folder of workspace- I think it would be better if these two options would work on the last interacted folder instead of first folder in workspace
-
reveal in file explorer: works on current open editor file -
open in external terminal: works on current open editor file- (Ok)
-
open folder settings: does not work (check this issue: #176060) -
remove folder from workspace: Opens a menu for workspace folders- Better change the name to
remove a folder from workspace
- Better change the name to
-
find in folder: works on all of folders in workspace- different options works differently here. so it would be better to change the name to
find in workspace
- different options works differently here. so it would be better to change the name to
-
copy path: works on current open editor file -
copy relative path: works on current open editor file- These two options are not clear to user in this situation but they are acceptable
When a folder was selected but right click is on somewhere else:
-
New file...: works on first folder of workspace -
New folder...: works on first folder of workspace -
reveal in file explorer: works on previously selected folder -
open in external terminal: works on previously selected folder -
remove folder from workspace: works on previously selected folder -
find in folder: works on previously selected folder -
copy path: works on previously selected folder -
copy relative path: works on previously selected folder -
open folder settings: does not work (check this issue: #176060)- As you can see most of these options work on the previously selected folder. so it would be better if
new folder,new fileandopen folder settingswill work like the others (work on the previously selected folder) so all commands have the same target
- As you can see most of these options work on the previously selected folder. so it would be better if