A collection of useful context menu commands for VS Code explorer and editor that you never knew you needed.
Features
Explorer Context Menu
Sort Order - Choose explorer file/folder sort order from a submenu (Default, Mixed, Folders First, Files First, By Type, By Modified, By Created)
Open as Workspace - Open any folder as a new VS Code workspace window
Open TensorBoard Here - Launch TensorBoard directly from the explorer with automatic port detection
Duplicate - Copy files/folders with a new name (preserves symlinks)
Copy Paths - Copy multiple selected file/folder paths with a configurable separator
Copy Parent's Path - Copy the parent directory path to clipboard
Copy Stem - Copy filename without extension to clipboard
Copy Name - Copy full filename to clipboard
Insert Path to Terminal - Send full path to active terminal
Insert Relative Path to Terminal - Send workspace-relative path to terminal
Insert Stem to Terminal - Send filename stem to terminal
Insert Name to Terminal - Send filename to terminal
Editor Context Menu
Copy Path with Line - Copy the absolute path and current line or selected line range
Copy Relative Path with Line - Copy the workspace-relative path and current line or selected line range
Insert Path with Line to Terminal - Insert the absolute path and line or range into the active terminal and focus it without executing
Insert Relative Path with Line to Terminal - Insert the workspace-relative path and line or range into the active terminal and focus it without executing
Path-with-line commands share the configurable the-missing-menu.pathLineTemplate and the-missing-menu.pathLineSeparator settings. Relative commands fall back to the absolute path when the file is outside the workspace.
Editor Title Context Menu
The Explorer copy and terminal insertion commands above, plus:
Select for Compare - Mark a file for comparison
Compare with Selected - Diff the current file against the previously selected file
Right-click on any file or folder in the VS Code Explorer or Editor title bar, or right-click a selection in the text editor, to access the relevant commands.