如何打开多个 Visual Studio Code 实例? [英] How do I open multiple instances of Visual Studio Code?
问题描述
今天,微软发布了 Visual Studio Code 文件/文件夹编辑器.
Today Microsoft released the Visual Studio Code file/folder editor.
第一个限制是它似乎是一个单实例应用程序.
The first limitation is it appears to be a single-instance application.
有没有办法获取多个实例,或者让它同时打开多个文件夹?
Is there a way of getting multiple instances, or otherwise having it open multiple folders simultaneously?
推荐答案
Ctrl + Shift + N 将打开一个新窗口,而Ctrl+K 然后释放按键,按下 O 将在新窗口中打开当前选项卡.然后您可以使用菜单 File →打开文件夹以在每个窗口中有两个具有不同文件夹的 Visual Studio Code 实例.
Ctrl + Shift + N will open a new window, while Ctrl+K then releases the keys, and pressing O would open the current tab in a new window. You can then use menu File → Open Folder to have two instances of Visual Studio Code with different folders in each window.
⌘ + Shift + N 和 ⌘ + K for Mac.
⌘ + Shift + N and ⌘ + K for Mac.
可以在此处找到有用的键盘快捷键列表.
List of helpful keyboard shortcuts can be found here.
这篇关于如何打开多个 Visual Studio Code 实例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!