Freigeben über


Did you know... You can use Ctrl+Shift+F12 to view the next Error listed in the error list - #181

In the General Development Settings, the keyboard binding is Ctrl+Shift+F12, so your mileage may vary depending on which settings you are using.  You can go to Tools – Options – Keyboard to figure it out.

The command is View.NextError.  I’m a little surprised that there isn’t a default keyboard shortcut for View.PreviousError.  You can always add one yourself.

View.NextError in Tools Options Keyboard

And of course, the status bar tries to be helpful by showing you the error you have navigated to.  =)

ErrorListNextError2

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    March 27, 2008
    Hm, I usually just use F8.  I think F8 depends on what list is actually highlighted, though (e.g. Errors, Find Symbol, etc).

  • Anonymous
    March 27, 2008
    Hey Now Sara, Another nice one, just used it & this is a good hotkey to know. As always, Thx 4 the info, Catto

  • Anonymous
    March 27, 2008
    I just found this out a week ago and it's my new favorite keybinding :)

  • Anonymous
    April 10, 2008
    I usually use F8, but sometimes F8 != ctrl + shift + F12. F8 cycle through every entry in the output window (the errors and the errors' related locations). The related locations not real errors. For example you have a method and many overrides for it. You misstyped the method signature: You get a CS1501 (no overload) error, and many related location for it. F8 show you the error, and after that cycles through each method definitions (related location), ctrl+shift+f12 shows only the error.

  • Anonymous
    April 10, 2008
    I usually use F8, but sometimes F8 != ctrl + shift + F12. F8 cycle through every entry in the output window (the errors and the errors' related locations). The related locations not real errors. For example you have a method and many overrides for it. You misstyped the method signature: You get a CS1501 (no overload) error, and many related location for it. F8 show you the error, and after that cycles through each method definitions (related location), ctrl+shift+f12 shows only the error.

  • Anonymous
    December 30, 2008
    本篇包括tip181-tip190http://www.watch-life.net/visual-studio/visual-studio-2008-tip-day-19.html#181、按C...