如何查看Visual Studio代码编辑组window中的隐藏文件?

How to view the hidden files in Visual Studio Code Editor Group window?

假设我在 Visual Studio 代码编辑器组 window 中打开了 10 个文件。只有 5 个是可见的,其余文件是隐藏的。我无法水平滚动并找到隐藏文件。是否有快捷方式或插件可以在下拉列表中查看隐藏文件。我在 Eclipse 中寻找类似于 CTRL+E 的东西。

  • 组中下一个使用的编辑器 -> Ctrl + Tab
  • 以前使用的编辑器组 -> Ctrl + Shift + Tab

  • 下一个编辑器 -> Ctrl + Page Down

  • 上一个编辑器 -> Ctrl + Page Up

(我刚刚提到了马克(在评论中)建议的热键)。

我认为除了左侧面板的 "Open Editors" 列表之外,没有任何方法可以查看已打开编辑器的列表视图。

// Number of editors shown in the Open Editors pane. Set it to 0 to hide the pane. "explorer.openEditors.visible": 9,

// Controls if the height of the open editors section should adapt dynamically to the number of elements or not.
"explorer.openEditors.dynamicHeight": true,

否则尝试Go/Switch编辑器菜单下列出的热键:

Next Editor Ctrl/Cmd + Page Down

Previous Editor Ctrl/Cmd + Page Up

使用 Visual Studio Code 1.44 (March 2020),您至少会在文件资源管理器中看到它们

File Explorer can show hidden files

If a file is hidden (via the files.exclude setting) but it is open and visible in the editor, the file is shown in the File Explorer along with its parent chain.

Those files and their parents are displayed in the Explorer using a dimmed color as long as the file is visible in the editor area.