Microsoft/vscode

Support X11 primary selection buffer in inputs

Open

#167 266 ouverte le 25 nov. 2022

Voir sur GitHub
 (11 commentaires) (2 réactions) (0 assignés)TypeScript (10 221 forks)batch import
feature-requesthelp wantedkeeplinuxworkbench-os-integration

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

This affects Linux users who make use of the primary selection buffer.

Related: https://github.com/microsoft/vscode/issues/130208

Normally you can select something, and then you can paste your most recent selection by middle clicking. It seems like whenever you open an input, eg Command Palette or the File Picker, the contents of the input are considered as a "selection" by the OS so overwrite the primary selection buffer.

Eg, say you are on a website which says "Run the foo command from the command palette". You select "foo", switch to VS Code. Run command palette, and middle click expecting it to paste "foo", however, instead it pastes ">".

Guide contributeur