Visual Studio 2012 / 2013 single click opens file

2019-01-29 18:09发布

In my Visual Studio 2012 Solution Explorer, when I single click a filename it opens it. This was different from Visual Studio 2010 (required a double click). Is there a way to make double-click the 'view file' command?

5条回答
该账号已被封号
2楼-- · 2019-01-29 18:19

In Visual studio 12/13, easiest way is to type "single click" in quick search and than select Tabs and Windows.

And in Tabs and Windows dialogue ,uncheck "Preview selected files in solutions explorer"

enter image description here

"

查看更多
叼着烟拽天下
3楼-- · 2019-01-29 18:22

The Single-click opens files in the preview tab text mentioned in rubber boots' answer is missing in VS 2015. Mysteriously, a search for "single click" still brings up the Environment > Tabs and Windows option.

So for VS2015 and VS2017, either click the button in Vinicius's answer, or uncheck the Preview selected files in Solution Explorer box shown in the screenshot below.

enter image description here

查看更多
你好瞎i
4楼-- · 2019-01-29 18:31

Shortcut Ctrl+Alt+Home.

If you press that in a document that was just opened, it will be opened permanently.

Item -> right click -> Open With -> Source Code (Text) Editor -> press Set as Default button

查看更多
戒情不戒烟
5楼-- · 2019-01-29 18:38

Use the preview button to toggle it in Solution Explorer:

Enter image description here

查看更多
男人必须洒脱
6楼-- · 2019-01-29 18:39

This is where you change that behavior (in VS2012, VS 2013 and VS 2015):

enter image description here

查看更多
登录 后发表回答