What are your favorite, but less obvious, Visual Studio 2008 tips and tricks?
The nuance of the question is what are the features of the Visual Studio environment, that not everyone knows about, that you have come to depend on and that you would like others to know about.

Here are a few of mine:

Control+minus : goes back to the previous editor position. This is especially helpful if you have temporarily navigated away from your editting position because you've looked up a symbol declaration or searched for a string. It works between files too. Control+Shift+minus visits the editor positions in the opposite direction.

The ability to unload projects and then to edit them using the text editor. You do this by right-clicking on a project and selecting "Unload Project", the right-clicking on the project and select "Edit project". Sometimes editing the text of the project files is faster than carrying out operations using the gui. For example, having to copy a long list of references from one project to another. Once the editing is done, you right-click on the project and select "Load Project" to return to the normal project view.

Dragging the current location marker in the source window during a debug session to skip statements or re-execute statements. In the debugger the yellow "current statement" arrow is draggable. 

Executing C# statements interactively in the debugger using the Immediate Window. You can type statements into the Immediate window of the debugger, and it will execute them in the context of the current statement. Of course, only statements that make sense in the context of the current statement will execute.

In C++, a really handy thing to have is to open the "Code Definition Window". So no matter what .cpp file you are editing, the corresponding .h window is displayed in this extra window.






What are your favorite, but less obvious, Visual Studio 2008 tips and tricks?
===

The nuance of the question is what are the features of the Visual Studio environment, that not everyone knows about, that you have come to depend on and that you would like others to know about.

Here are a few of mine:

Control+minus : goes back to the previous editor position. This is especially helpful if you have temporarily navigated away from your editting position because you've looked up a symbol declaration or searched for a string. It works between files too. Control+Shift+minus visits the editor positions in the opposite direction.

The ability to unload projects and then to edit them using the text editor. You do this by right-clicking on a project and selecting "Unload Project", the right-clicking on the project and select "Edit project". Sometimes editing the text of the project files is faster than carrying out operations using the gui. For example, having to copy a long list of references from one project to another. Once the editing is done, you right-click on the project and select "Load Project" to return to the normal project view.

Dragging the current location marker in the source window during a debug session to skip statements or re-execute statements. In the debugger the yellow "current statement" arrow is draggable. 

Executing C# statements interactively in the debugger using the Immediate Window. You can type statements into the Immediate window of the debugger, and it will execute them in the context of the current statement. Of course, only statements that make sense in the context of the current statement will execute.

In C++, a really handy thing to have is to open the "Code Definition Window". So no matter what .cpp file you are editing, the corresponding .h window is displayed in this extra window.





