electrotype / vscode-windows-explorer-context-menu

VSCode extension to open the Windows Explorer Context Menu
16 stars 2 forks source link

[❔]About using the "Context Menu - Selected" command from the VSCode command palette #6

Closed claudio-salvio closed 2 years ago

claudio-salvio commented 2 years ago

Hello @electrotype

I tried to run "Context Menu - Selected" from the VSCode command palette but nothing happens. image

I thought that doing so would open the "windows context menu" from the file shown in the editor but I was wrong. Is there any way to do it?

My ultimate goal was to associate a shortcut key (e.g. CTRL+APPS) to the "Context Menu - Selected" command so that I could execute it directly.

🙏Thanks for making this useful extension available.

Best regards, Claudio

electrotype commented 2 years ago

Hello @claudio-salvio ,

I just published a 3.2.0 version to address this. There are some limitations, but I think it does provide the feature that you are looking for.

Let me know if you find any issues!

claudio-salvio commented 2 years ago

Hello @electrotype,

Thank you very much for adding this functionality so quickly ! It works perfectly well.

I generated a keybinding from ContextMenu to SHIFT+F10 when editorTextFocus that allows me to access the Windows Context Menu directly.

I had originally planned to generate the keybinding to some combination with the CONTEXTMENU key. Unfortunately none of them worked, I tried ALT+CONTEXTMENU, CTRL+CONTEXTMENU, SHIFT+CONTEXTMENU and in all cases it still opens the VSCode context menu and not the Windows Context Menu. I suspect that VSCode reserves the use of the CONTEXTMENU (aka APPS) key somehow because in the list of keybindings there is no keybinding that uses it.

Best regards, Claudio Salvio