microsoft / microsoft/vscode

Middle-click empty Explorer space to create a new folder and middle-click empty editor space to open a new terminal

Open
#329,948 0 comments 0 reactions 1 assignee Claimed by @benibenj View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

## Describe the feature you'd like

Add middle-click shortcuts for the two surfaces where double-click already creates a new file:

- **Explorer view (empty space)** — middle-click creates a new folder, matching the existing double-click → new file. The Linux middle-click paste is suppressed so the new folder's name input starts empty.
- **Editor area (empty canvas or empty tabs row)** — middle-click opens a new terminal in the editor area, matching the existing double-click → new file. Middle-click on an empty editor group now opens a terminal instead of closing the group.

## Proposed behavior

- Middle-click on empty Explorer space → creates a new folder.
- Middle-click on empty editor area / empty tabs row → opens a new terminal.

## Describe alternatives you've considered

Keeping only the double-click behavior for new files/folders.

A prototype is implemented in PR https://github.com/microsoft/vscode/pull/329446.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.