Visual Studio Code:将选项卡从当前位置移动到最前面的热键? [英] Visual Studio Code: Hotkey to move a tab from its current location to the very front?

查看:24
本文介绍了Visual Studio Code:将选项卡从当前位置移动到最前面的热键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时我打开了 20 多个文件选项卡,我想将当前正在处理的一个移到最前面.拖放时间太长.有没有热键可以做到这一点?

由此

Sometimes I have 20+ file tabs open and I want to move the one i'm currently working on to the very front. Dragging and dropping takes too long. Is there a hotkey to do this in?

From this

为此

推荐答案

您可以在 1 个命令中完成,无需扩展:

You can do it in 1 command without extensions:

{
    "key": "ctrl+shift+9",
    "command": "moveActiveEditor",
    "args": {
        "to": "left",
        "by": "tab",
        "value": 50
    }
}

https://code.visualstudio.com/api/references/commands

这篇关于Visual Studio Code:将选项卡从当前位置移动到最前面的热键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆