简体   繁体   English

在当前编辑器组中显示打开文件的任何快捷方式或命令 - VSCode

[英]Any shortcut or command to show opened files in current editor group - VSCode

I can see opened files in 1st group (created via split editor) using command " show editors in first group ", in 2nd group " show editors in second group " and I can also see all opened files including all groups " show all editors ".我可以使用命令“ show editors in first group ”,在第二组“ show editors in second group ”中show editors in second group show editors in first group打开的文件(通过拆分编辑器创建),我还可以看到所有打开的文件,包括所有组“ show all editors ” .

Bu, how to see the files opened only in the currently focused group ? Bu,如何查看仅在当前关注的组中打开的文件?

VS Code has added this now. VS Code 现在添加了这个。 Go to File-->Preferences-->Keyboard Shortcuts.转到文件->首选项->键盘快捷键。 2. Scroll down PAST the keys that have assignments to the unassigned keys. 2. 向下滚动将已分配到未分配键的键。 It's under "Show Editors in Active Group" 3. Since it has no assignment, click on the '+' symbol to give it an assignment.它在“显示活动组中的编辑器”下 3. 由于它没有分配,因此单击“+”符号给它一个分配。

The existed answer https://stackoverflow.com/a/53537818/7860292 is right.现有的答案https://stackoverflow.com/a/53537818/7860292是正确的。

And it is also okay to directly type edt active in the FilePicker ~而且在FilePicker中直接输入edt active也是可以的~


And shortcut configs like following would be easy to toggle in active group or in all groups :像下面这样的快捷方式配置很容易in active groupin all groups切换:

    {
        "key": "ctrl+oem_period",
        "command": "workbench.action.quickOpen"
    },
    {
        "key": "ctrl+oem_period",
        "command": "workbench.action.showEditorsInActiveGroup",
        "when": "inFilesPicker && inQuickOpen",
    },

However, I do not find anything like show editors in first group as said in question, are those deprecated ?但是,我show editors in first group没有发现像问题中所说的那样的show editors in first group ,那些被弃用了吗? ... ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM