1

Re: Move to next error?

Are there any commands that would allow me to, in a given file, move the cursor to the next compile error or warning?

Thanks in advance,
Eric

2

Re: Move to next error?

Well I swear I was doing :cn and :cp and they weren't working just a moment ago.  But it's working as expected now.

3

Re: Move to next error?

:cn and :cp can sometimes fail, given they invoke the following VS commands:

  Edit.GotoOutputWindowNextLocation
  Edit.GotoOutputWindowPreviousLocation

I've added :ern and :erp to invoke the following:

  View.NextError
  View.PreviousError

Different language service and VS version combinations support one of them or both, and there is no easy way to determine which, so I've added the alternate commands.

This will be released with the next version of ViEmu/VS.

  -- Jon