如何在Visual Studio 2012中撤消“范围到此”?

    技术2022-07-11  120

    本文翻译自:How do I undo “Scope to this” in Visual Studio 2012?

    In the Solution Explorer, I clicked on "Scope to this" to display only a part of the solution. 在解决方案资源管理器中,我单击“范围到此”以仅显示解决方案的一部分。 Now I can't find how to get back to normal view. 现在我找不到如何恢复正常视图。

    Closing/Reopening Solution Explorer won't work; 关闭/重新打开解决方案资源管理器不起作用; I searched every menu item, and "New Solution Explorer View" didn't work either; 我搜索了每个菜单项,“New Solution Explorer View”也没有工作; I found nothing on Google. 我在Google上找不到任何内容。

    I must be missing something obvious... There has to be an easy way to undo "Scope to this", right? 我必须遗漏一些明显的东西......必须有一种简单的方法来撤销“范围到这个”,对吧?


    #1楼

    参考:https://stackoom.com/question/1373d/如何在Visual-Studio-中撤消-范围到此


    #2楼

    Click the "Home" icon (third one by default, the one with a house pictogram) in the Solution explorer. 单击解决方案资源管理器中的“主页”图标(默认情况下为第三个图标,带有房屋象形图的图标)。 This will revert the view to the full solution. 这会将视图还原为完整解决方案。


    #3楼

    In addition to pressing the 'home' button you should also see, in the top left hand corner of the Solution Explorer, two arrows. 除了按下“主页”按钮,您还应该在解决方案资源管理器的左上角看到两个箭头。

    Pressing the left pointing one will take you back out of scope to this and pressing the right one will put you back into it. 按向左指示将使您退回到范围之外,按下右侧将使您重新进入它。

    Essentially, they work as forward and back buttons. 从本质上讲,它们可以作为前进和后退按钮。

    Extra: 额外:

    You can also right click on projects and select 'New Solution Explorer Window' to have two separate solution explorers which can browse independently (note that changing the settings on one will effect the other). 您还可以右键单击项目并选择“新建解决方案资源管理器窗口”以使两个独立的解决方案浏览器可以独立浏览(请注意,更改一个上的设置将影响另一个)。

    Processed: 0.010, SQL: 9