开发者

How do I go to the first error?

开发者 https://www.devze.com 2023-01-12 17:01 出处:网络
When I introduce a breaking change, a list of compilation errors appears at the Error List. Is there a keyboard way to go to the first error? (Shortcut or some command I can associate one). The View.N

When I introduce a breaking change, a list of compilation errors appears at the Error List. Is there a keyboard way to go to the first error? (Shortcut or some command I can associate one). The View.NextError command, associated to Ctrl+Shift+F12 or F8 by default, leaves me at the SECOND error of the list. Also, for the same reason, when 开发者_JAVA技巧I correct an error and press Ctrl+Shift+F12 or Shift+F8 I don't go to the "next" error (now at the first place) but to the second next.

EDIT: It seems that there is no native command to go to the first error, so a working solution would be to create a macro that executes View.NextError and View.PreviousError and associate a keyboard shortcut to it.


For me, it only works if I press F8 followed by Shift+F8 to go back to the previous error.


F4 does this.
You can download the VS 2010 Keybinding posters in PDF format here.

0

精彩评论

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