Thursday, July 03, 2008

imageOne of the best features most Internet browsers have is the ability to navigate backwards, and forwards, through your history of Web site pages you have visited. Don’t you wish you had this feature in Visual Studio? Well, you do. Here’s how you do it.

One option is to go to Visual Studio’s View menu and choose either Navigate Forward or Navigate Backward. An even more handy method is to use the following keyboard shortcuts:

Ctrl + – and Ctrl + Shift + –.

One cool thing about the way Visual Studio does this is that it will navigate backwards through different parts of Visual Studio, everything from forms you’ve open to code you’ve worked, and more.

Feedback:

Alright, we’ve had one reader submitted tip.  Thanks D1eg0. So far I still have the lead. score: Me 3 / Readers 1.

PowerPoint: 31 Days of Visual Studio 2008 Tips & Tricks.pptx (Note: PowerPoint is updated daily to include new items.)


Thursday, July 03, 2008 15:34:00 (Eastern Standard Time, UTC-05:00)  #    Comments [4]  |  Trackback
Thursday, July 03, 2008 12:15:36 (Eastern Standard Time, UTC-05:00)
Every time I see a developer reach up to the toolbar to comment out a section of code with the mouse, I die a little inside. So here is my gift to the world:

Ctrl + K, C and Ctrl + K, U

It's worth mentioning that this shortcut is context sensitive and generally adds the correct comment tags for the language you are working with (i.e. XML, HTML, Server-Side ASP.NET Tags, C#, JS, CSS, etc...)
Thursday, July 03, 2008 12:29:43 (Eastern Standard Time, UTC-05:00)
Formatting seems to have changed during the live of some products. This can become an annoyance.

Format the Open file: Ctrl + K, D
Format the Selected Text: Ctrl + K, F

The format is set up in Tools>Options>Text Editor>[Language]
Thursday, July 03, 2008 14:55:30 (Eastern Standard Time, UTC-05:00)
A practice is widely used to compile the only project that these working. That can be done.

Shift + F6

You can compile all the solution with F6

And also can be compiled and run the application with F5

Excuse me. I don't speak English. I am Argentinian.
Greetings.
D1eg0
Saturday, July 05, 2008 08:21:36 (Eastern Standard Time, UTC-05:00)
My favorite shortcuts on VS.

1. Ctrl + Shift + B = Build all projects.

2. Ctrl + Left / Right = Move to the beginning of the next word on the left or right.

3. Ctrl E + D = Format selected document.

4. Ctrl E + F = Format selected text.

5. Ctrl E + S = View white space.

6. Ctrl + Break = Cancel build.

7. Ctrl + Space = Word completion

8. F5 = Start with debugging.

9. Ctrl + F5 = Start without debugging.

Hope this helps!
Comments are closed.

Theme design by Jelle Druyts

Pick a theme: