文件资源管理器上的 VS Code ctrl+click 行为

VS Code ctrl+click behaviour on file explorer

我更新了 VSCode 并更改了 ctrl+单击文件资源管理器的行为。

以前在拆分视图中打开文件,现在在当前 window 上打开文件。

如何启用旧行为?

Alt+Click 现在默认绑定在拆分视图中打开。 Ctrl+单击 - 在树中multi-select。

不过您可以更改它:

"workbench.list.multiSelectModifier": "alt",

来自v1.20 Release Notes MultiSelect

Clicking with the Ctrl/Cmd key pressed will no longer open an editor to the side because this key is now used to add more items to the multi-selection. A new setting, workbench.list.multiSelectModifier, allows you to change back to the old behavior by setting it to "workbench.list.multiSelectModifier": "alt". With this setting, you use the Alt key to add items to the selection.

因此设置为 "alt" 将 return 旧行为。

  "workbench.list.multiSelectModifier": "alt"