我在 64 位 Windows 7 操作系统上使用 Visual Studio Code 版本 1.1.1。
每当我启动 VS Code 时,它都会创建多个实例。每个人都会发生这种情况吗?我的设置有问题吗?
注意:我只在 VS Code 中使用 Angular 2 和 TypeScript。
我在 64 位 Windows 7 操作系统上使用 Visual Studio Code 版本 1.1.1。
每当我启动 VS Code 时,它都会创建多个实例。每个人都会发生这种情况吗?我的设置有问题吗?
注意:我只在 VS Code 中使用 Angular 2 和 TypeScript。
这是一个用户设置:
window.openFilesInNewWindow 设置控制文件是否应该在新窗口中打开而不是重用现有的 VS Code 实例。默认情况下,当您双击 VS Code 外部的文件或从命令行打开文件时,VS Code 将打开一个新窗口。将此设置为 false 以重用 VS Code 的最后一个活动实例并在其中打开文件。
转到文件/首选项/用户设置。
默认值(在左侧窗格中)是:
// When enabled, will open files in a new window instead of reusing an existing instance.
"window.openFilesInNewWindow": true
要更改设置,请在您的自定义设置(右窗格)中插入以下行。
{
"window.openFilesInNewWindow": false
}
您可以在此处找到有关这些设置的完整详细信息。