Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

electrotype/vscode-windows-explorer-context-menu

Repository files navigation

NOTE: Project no longer supported

Unfortunately, I don't use Windows anymore to code and I won't support this extension anymore.

VSCode - Windows Explorer Context Menu

Marketplace link

Windows Explorer Context Menu

Description

Adds options to the context menus of VSCode to open the native Windows Explorer context menu (also called "shell context menu").
You can use it for many things, one of them being to manage your projects using TortoiseGit or TortoiseSVN.

In the Explorer panel (and Java Projects panel, for those working with Java), two options are added to the context menu :

  • "☰ Context Menu - Selected" : Which opens the Windows Explorer context menu for the selected file or folder.
  • "☰ Context Menu - Root" : Which opens the Windows Explorer context menu for the root of the project.

Also, in the context menu of the Editor panel, a simple "☰ Context Menu" option is added for the file currently open.

Since version 3.0.0, this extension also supports projects ran inside WSL2! The configuration windowsExplorerContextMenu.wsl2DriveLetter is required in that case. See below for more information.

Of course this extension only works on Windows.

Configuration

windowsExplorerContextMenu.executable

There are three executables that can be used to actually open the native context menu. They all have their drawbacks and that's why we bundle all of them and let you choose which one to use.

  • AutohotkeyContextMenu.exe - Is the default executable. The "Properties" option of the open menu doesn't seem to work.

  • Context.exe - The "Properties" option of the open menu doesn't seem to work.

  • WinContextMenu_x86.exe - The menu doesn't open where the cursor is but at the top-left corner of the screen. If you use more than one monitor, it can even open on the wrong monitor.

windowsExplorerContextMenu.wsl2DriveLetter

Required when using this extension on projects running inside WSL2. This would be the path to the drive letter on which you mapped the WSL2 Linux distribution root.

For example, if you installed Ubuntu-20.04 as the WSL2 Linux distribution, you could map "\\wsl$\Ubuntu-20.04" to the Windows "X:" drive letter. You would then have to set the windowsExplorerContextMenu.wsl2DriveLetter configuration to "X:".


AutohotkeyContextMenu.exe

Created using Autohotkey and this script.

The source is provided in file executables/AutohotkeyContextMenu.ahk.


Context.exe

http://www.maddogsw.com/cmdutils/

(c) 1998-2000 Matt Ginzton, MaDdoG Software


WinContextMenu_x86.exe

https://github.com/vkalviss/WinContextMenu/tree/master/bin

(c) 2013 vkalviss


About

VSCode extension to open the Windows Explorer Context Menu

Resources

Stars

Watchers

Forks

Packages

No packages published