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?
311
votes
What do you expect it to do after you click (single) on the file name? Nothing? BTW, you can change this behavior in "Environment"-"Tabs and windows". But you should'n, in my opinion ;-)
– rubber boots
On a single click I expect it to be selected, so I can check its properties
– Alexandru Pupsa
See Also Disable file preview in VS2012
– KyleMit
6 Answers
150
votes
Option 1: Using icon in Solution Explorer
You can enable or disable the feature in Solution Explorer using the "Preview Selected Items" button.
The icon is a Tab
aligned to the right.
Option 2: Using the Options window
You can enable or disable the feature by going into Tools > Options
and then Environment > Tabs and Windows
.
25
votes
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.
15
votes
1
votes