Disable file preview in VS2012

前端 未结 5 789
逝去的感伤
逝去的感伤 2020-12-22 15:55

In VS2012 when you select a file in solution explorer it automatically opens file in a special \"preview\" tab.

Maybe my computer is not fast enough, but this previe

相关标签:
5条回答
  • 2020-12-22 16:25

    You can also toggle file preview within the Solution Explorer tool-window itself:

    enter image description here

    This may have been added in the July update because I hadn't noticed it before then.

    0 讨论(0)
  • 2020-12-22 16:27

    One of the buttons at the top of the solution explorer toggles whether this is enabled.

    0 讨论(0)
  • 2020-12-22 16:32

    An even better solution IMO is to completely disable the File Preview feature (not just for Solution Explorer):

    Tools > Options > Environment > Tabs and Windows
    > Uncheck "Allow new files to be opened in the preview tab"
    

    This also prevents things like Go To Definition (F12) from using preview tabs.

    0 讨论(0)
  • 2020-12-22 16:36

    In Tools > Options > Environment > Tabs and Windows, you can disable it by unckecking "Solution explorer" under Preview tab.

    I find it using the "Quick launch" new feature. Simply type "preview", and a link to the setting will be suggested. Great new feature of VS

    0 讨论(0)
  • 2020-12-22 16:36

    On Visual Studio 2013 I have done this by this Icon :

    enter image description here

    0 讨论(0)
提交回复
热议问题