Visual Studio - 在新窗口中打开最近的 [英] Visual Studio - Open Recent in a new Window

查看:68
本文介绍了Visual Studio - 在新窗口中打开最近的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 中是否有任何设置,当我执行最近打开"时,它总是在新窗口中打开.现在它只是在同一个窗口中打开它.

解决方案

//控制文件是否应在新窗口中打开.//- 默认:文件将在打开文件文件夹或最后一个文件夹的窗口中打开活动窗口,除非通过 Dock 或从 finder 打开(仅限 macOS)
//- on:文件将在新窗口中打开//- off:文件将打开在打开文件文件夹的窗口或最后一个活动窗口中
//请注意,仍有可能忽略此设置的情况(例如,当使用 -new-window 或 -reuse-window 命令行时选项).

 "window.openFilesInNewWindow": "on",

<块引用>

//控制文件夹是在新窗口中打开还是替换上一个活动窗口.//- 默认:文件夹将在新窗口中打开除非从应用程序中选择文件夹(例如通过文件菜单)//- 开:文件夹将在新窗口中打开//- 关:文件夹将替换最后一个活动窗口//请注意,可以仍然存在忽略此设置的情况(例如,当使用-new-window 或 -reuse-window 命令行选项).

 "window.openFoldersInNewWindow": "on",

那些应该可以解决问题.在您的 settings.json 中.

Is there any setting in Visual Studio such that when I do "open recent" it always open in a new window. Right now it just opens it in the same window.

解决方案

// Controls if files should open in a new window. // - default: files will open in the window with the files' folder open or the last active window unless opened via the dock or from finder (macOS only)
// - on: files will open in a new window // - off: files will open in the window with the files' folder open or the last active window
// Note that there can still be cases where this setting is ignored (e.g. when using the -new-window or -reuse-window command line option).

 "window.openFilesInNewWindow": "on",

// Controls if folders should open in a new window or replace the last active window. // - default: folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu) // - on: folders will open in a new window // - off: folders will replace the last active window // Note that there can still be cases where this setting is ignored (e.g. when using the -new-window or -reuse-window command line option).

  "window.openFoldersInNewWindow": "on",

Those should do the trick. In your settings.json.

这篇关于Visual Studio - 在新窗口中打开最近的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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