Rename a file in VS 2015 Solution Explorer

I recently upgraded to Visual Studio 2015. I really like this, but I don't like the fact that when you press F2 to rename a file in Solution Explorer, it now highlights the full name with the extension. Are there any settings to make it so that it only highlights a name similar to the one that was in 2013?

+5
source share
4 answers

This is fixed with the latest upgrade to VS 15.

+2
source

We have an active error right now that we are trying to fix. I shared these details with a developer who is studying this, so we are not sure right now why this works for some and not for others. Stay with us...

Thanks! Cathy Team VS IDE

+4
source

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

Please note that your user settings for the solution are stored in the .suo file, so after deleting it you will lose the previously opened tabs, the choice to start the project and some other things, but nothing really important. Visual Studio will recreate this file the next time the solution is opened.

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

+3
source

I have Visual Studio 2015 Community Edition, and F2 just highlights the file name without the extension. This is not an answer to your question, but I thought it would help you understand that not all installations and updates of Visual Studio 2015 have this problem - and this is too long for comment. My was a fresh installation. Have you tried disabling extensions, restarting VS, and trying to rename again?

Rename Files

Visual studio 2015

+2
source

All Articles