在 Visual Studio 2012 中导航到文件时关闭访问行为 [英] Turn off visiting behaviour when navigating to file in Visual Studio 2012
问题描述
当我转到另一个文件时,在代码中的类型名称上使用 F12,它将在右侧的读取选项卡中打开该文件.如果我进一步导航,新文件将替换之前的文件.
在 Visual Studio 2010 中,它会为我访问的每个文件打开一个新选项卡.我试图适应新的行为,但我无法忍受.
如何关闭此功能?
Visual Studio 2012 在工具 > 选项 > 环境下有一个新的选项卡和 Windows 设置页面,用于控制这种行为:>
您可能希望在预览标签部分禁用允许在预览标签中打开新文件.
When I go to another file, using F12 on a type name in the code, it will open the file in a read-tab to the right. If I navigate further the new file will replace the previous one.
In Visual Studio 2010 it would open a new tab for each file I go to. I've tried to get used to the new behaviour, but I can't stand it.
How do I turn this feature off?
Visual Studio 2012 has a new Tabs and Windows settings page under Tools > Options > Environment that controls this kind of behavior:
You probably want to disable Allow new files to be opened in the preview tab in the Preview Tab section.
这篇关于在 Visual Studio 2012 中导航到文件时关闭访问行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!