Microsoft/vscode

Support X11 primary selection buffer in inputs

Open

#167,266 创建于 2022年11月25日

在 GitHub 查看
 (11 评论) (2 反应) (0 负责人)TypeScript (10,221 fork)batch import
feature-requesthelp wantedkeeplinuxworkbench-os-integration

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

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 ">".

贡献者指南