开发者

Visual Studio jump to next error shortcut?

开发者 https://www.devze.com 2022-12-11 00:14 出处:网络
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.

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:

Visual Studio jump to next error shortcut?


For Visual Studio CODE (2022)

  1. Open Preferences: Open Keyboard Shortcuts

    Visual Studio jump to next error shortcut?

  2. Find go to problem in files

    Visual Studio jump to next error shortcut?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号