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 l开发者_如何学运维ist.
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.
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.
Funny because I use CTRL+SHIFT+F12 which is View.NextError.
I wonder what's the difference between View.NextError and Edit.GoToNextLocation.
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:
For Visual Studio CODE (2022)
Open Preferences: Open Keyboard Shortcuts
Find go to problem in files
Set the shortcut keys with your taste. (Default value is
F8
,Shift
+F8
.)
精彩评论