Visual Studio>谷歌浏览器:打开新窗口而不是新标签

时间:2011-04-30 11:01:01

标签: visual-studio visual-studio-2010 google-chrome

我在Visual Studio 2010中使用Chrome作为默认浏览器。

每当我调试一个Web应用程序时,如果有任何现有的Chrome实例打开,那么VS会自动在该实例上创建一个新选项卡。

有人知道是否有可能强制VS打开全新窗口?

2 个答案:

答案 0 :(得分:15)

我知道这是一个较晚的更新,但我找到了比注册表黑客更好的方法。

在visual studio中选择浏览时,您可以设置Chrome的新快捷方式,并在新窗口中打开参数。 (基于麦角酸的答案)

enter image description here

enter image description here

答案 1 :(得分:2)

不确定这是否是您正在寻找的解决方案,因为它非常“暴力”。

https://superuser.com/questions/166479/force-chrome-to-open-new-pages-in-new-window-not-tab-when-opened-from-a-progra

基本上,该技术是替换windows shell在浏览器中打开新http链接的方式。

在注册表项下:HKEY_CLASSES_ROOT \ http \ shell \ open \ command

您需要更改与此类似的命令: “C:\ Users \ Lior \ AppData \ Local \ Google \ Chrome \ Application \ chrome.exe” - “%1”

进入这个:

“C:\ Users \ Lior \ AppData \ Local \ Google \ Chrome \ Application \ chrome.exe”--new-window“%1”

相关问题