Renaming Project Files in Visual Studio 2011 Developer Preview

Visual Studio 2011 developer preview introduced numbers of new features with IDE. Along with all other features, you will find a  small and nice enhancement in solution explorer for file renaming.  Prior to Visual Studio 2010, if you want to rename a file in solution explorer ( Either pressing F2 or selecting “Rename” from Context menu” ) visual studio selects the complete set of file name along with extension.

image

Now, if you want to rename the file, either you need to manually deselect the extension part or need to type the extension again along with file name.

In case of new Visual Studio 2011 developer preview IDE if you want to rename the file name, it will only select the file name part, not the extension part.

image

Hope this helps !

Cheers !

Abhijit

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.