Visual Studio jump to next error shortcut?

.Netvb.netVisual StudioIde

.Net Problem Overview


When a compile fails in VB.NET in Visual Studio 2008, an Error List pops up at the bottom of the screen. To jump to an error, I double click on an error in the error list.

Is there a shortcut to automatically jump to the next error in the list? It gets a little bit tedious at times having to reach down and double click a list that I like to keep collapsed.

.Net Solutions


Solution 1 - .Net

F8 (and Shift+F8 to go backwards).

Or at least that's what it is in my keyboard profile - you can go to tools\options\environment\keyboard and check out Edit.GoToNextLocation.

Note If you configured Visual Studio using VB keyboard settings, no key has been assigned to this function. You need to pick your own and assign them.

Solution 2 - .Net

Funny because I use CTRL+SHIFT+F12 which is View.NextError.

I wonder what's the difference between View.NextError and Edit.GoToNextLocation.

Solution 3 - .Net

If you have ReSharper installed, you can use ReSharper.ReSharper_GotoNextErrorInSolution, the default mapping for which is Shift+Alt+PgDn. This is the equivalent of clicking on the error icon shown in the bottom right of Visual Studio's status bar:

ReSharper solution errors screenshot

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionBrian WebsterView Question on Stackoverflow
Solution 1 - .NetBrianView Answer on Stackoverflow
Solution 2 - .NetLuis FilipeView Answer on Stackoverflow
Solution 3 - .NetSimon MᶜKenzieView Answer on Stackoverflow