Brian Webster
Brian Webster

Reputation: 30855

Visual Studio jump to next error shortcut?

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.

Upvotes: 436

Views: 113382

Answers (4)

wantyouring
wantyouring

Reputation: 225

For Visual Studio CODE (2022)

  1. Open Preferences: Open Keyboard Shortcuts enter image description here

  2. Find go to problem in files enter image description here

  3. Set the shortcut keys with your taste. (Default value is F8, Shift+F8.)

Upvotes: 3

Luis Filipe
Luis Filipe

Reputation: 8708

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

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

Upvotes: 208

Simon MᶜKenzie
Simon MᶜKenzie

Reputation: 8664

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

Upvotes: 22

Brian
Brian

Reputation: 118865

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.

Upvotes: 583

Related Questions