Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File Rename in Solution Explorer VS 2015

I recently upgraded to Visual Studio 2015. There are many things that I like about it, but one thing that I don't like is that when you hit F2 to rename a file in the solution explorer it now highlights the full name with the extension. Is there anywhere any settings to make it so that it only highlights the name like it did in 2013?

like image 343
Henry Crans Avatar asked Aug 14 '15 02:08

Henry Crans


1 Answers

I had the same issue with one specific solution and Visual Studio 2013. It seems problem can be solved by simply deleting .suo file (you can find it in the same directory as .sln file).

Note that .suo file stores your user-specific settings for the solution, so after deleting it you'll lose previously opened tabs, selection for startup project and some other stuff, but nothing really important. Visual Studio will recreate this file next time you open the solution.

Update: In case of Visual Studio 2015/2017 you have to delete the folder .vs instead.

like image 74
Konstantin Balchikov Avatar answered Sep 28 '22 09:09

Konstantin Balchikov