Books & ebooks about Microsoft tools, technologies, & research. Plus programming best practices. We hope you enjoy this post.
A reminder that Microsoft Visual Studio Tips: 251 Ways to Improve Your Productivity, by Sara Ford, is available now and is helping to raise scholarship money for the Mississippi Gulf Coast Community College Foundation.
Here’s just a LITTLE bit about Sara (and then an excerpt from the book follows):
About the Author Sara Ford is the program manager for CodePlex,Microsoft’s open source project hosting site. Prior toCodePlex, she worked on the Visual Studio team for sixyears, where she started the Visual Studio Tip of the Dayon her blog. She began her career as a software designengineer in testing, where over the next four years shetested nearly every aspect of the generic Visual Studio IDE.
Shortly after the Visual Studio 2005 product shipped, Sarajoined the Visual Studio Community Team as the programmanager for Power Toys for Visual Studio. The power toysare small, lightweight add-ins to Visual Studio that werebuilt as open-source projects on CodePlex. This is whereher interests and personal education in the open-source worldbegan, which would lead her to her current role on CodePlex.
It is a little-known fact that Sara ran a professional clown business named “Squirt, the Clown”(pronounced “Squirt Comma the Clown”) throughout her junior high and high school years,where she juggled clubs and a diabolo and also twisted balloon animals. It turned out thatthe comma in the name was extremely important to clarify any confusion about the natureof her business. When Sara had been a professional clown for approximately two years, shearrived at a gig—a 10-year-old boy’s birthday party—to find that the large group of boys(30, at least) were over the top excited to see the clown. She couldn’t help but think their levelof excitement was unusual for a group of that age. Then she noticed … they were all holdingwater guns! The boys opened fire, and the oversized clown shoes prevented her from makinga hasty escape to her car. The parents, bless their hearts, took the original business name”Squirt the Clown” quite literally. Sara swears to this day that her life is the mathematicalproof of Murphy’s Law.
Aside from her clown business, Sara has had other interesting jobs as a soccer referee and apopcorn vendor at Walt Disney World, in the Magic Kingdom, directly in front of Cinderella’scastle. When not working on a computer or running away from water guns, Sara enjoysstudying Shotokan Karate, hiking mountains twice in a row, and cycling on trails that do notallow cars.
Sara’s life long goal is to become a 97-year-old weightlifter, so she can be featured on thelocal news.
(Photo courtesy of Microspotting.com)
And here’s the book excerpt (from Chapter 4, “Manage Your Environment Layout”):
Document WindowsA document window is any window that is opened in the center of the IDE. It has a file tab and behaves just as any opened file would. Obvious examples include files and designers. Not-so-obvious examples include the project properties and tool windows in a tabbed document state. And note that any tool window can act as a document window, but not vice versa.
File Tab ChannelThe file tab channel is the UI strip that contains all the file tabs for the open documents. It also contains a lot of quick shortcuts and powerful commands for manipulating and navigating files.
Tip 4.1: You can use Ctrl+Alt+Down Arrow to drop down the file tab channel file menuA fellow program manager and I were trying to out “Did you know...” each other about Visual Studio the other day in my office. I won with this one:
On the file tab channel, all the way to the right side, there’s an inverted triangle (that is, a drop-down arrow) that, when pressed, invokes the File menu drop-down list. There are two “Did you know...” points here:
Tip 4.2: You can use Close All But This on files in the file tab channelThis is a really, really useful feature, but I’ll always remember how difficult it was for me 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!
Tip 4.3: You can copy a file’s full path from the file tab channelNow this is a feature I absolutely cannot live without. This was one of the best features added in Visual Studio 2005 (in my 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, I don’t recall. (I started working at Microsoft in September 2001.)
Tip 4.4: You can open a Windows Explorer browser directly to the active fileRight-click any file tab, and select Open Containing Folder. I love this feature, although it is my second favorite tip. The previous Tip 4.3 is my 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.
Sara’s book contains 247 more Visual Studio tips, and this is a great book for a great cause!
PingBack from http://www.clickandsolve.com/?p=6031
Wow, two non-Tip of the Day posts from me on back-2-back days. Have I finally recovered from my ToD ordeal?