Sunday, June 30, 2013

Tip 4.4: You can open a Windows Explorer browser directly to the active file

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



Right-click any file tab, and select Open Containing Folder. She loves this feature, although it is her second favorite tip. The previous Tip 4.3 is her all-time favorite. It's great to be able to jump from the file to the folder on disk to look for stuff, to change attributes on the file, to do a rename, or whatever else. It is very, very useful.



Happy Programming! =)
Posted by Nils-Holger at 12:04 PM with 728 comments.

Saturday, June 29, 2013

Tip 4.3: You can copy a file's full path from the file tab channel

"Visual Studio Tips, 251 ways to improve your Productivity", courtesy of 'Sara Ford'

Sara Ford's Blog



Now this is a feature she absolutely cannot live without. This was one of the best features added in Visual Studio 2005 (in her humble, biased opinion).



On the file tab channel, you can right-click and select Copy Full Path—voilà, you have the full path for that file. In previous versions of Visual Studio (such as Visual Studio .NET 2003), you had to go to the Properties window and copy the full path from there. In even earlier versions, well, um, she doesn't recall. (she started working at Microsoft in September 2001.)

Happy Programming! =)
Posted by Nils-Holger at 1:09 PM with 513 comments.

Friday, June 28, 2013

Tip 4.2: You can use Close All But This on files in the file tab channel

"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'

Sara Ford's Blog



This is a really, really useful feature, but she'll always remember how difficult it was for her to find bugs with it. That really frustrates a tester, when you can't break a developer's newly written code.



Right-click a file tab, and select Close All But This. This command closes all the other files in the editor, except for the currently active file, obviously. And yes, you can bind it to a keyboard shortcut. The command is File.CloseAllButThis. In the General Development Settings, this isn't bound to any keyboard shortcut, so have fun!

Happy Programming! =)
Posted by Nils-Holger at 11:57 AM with 1605 comments.