vim-ios icon indicating copy to clipboard operation
vim-ios copied to clipboard

Not being taken to the compiler error when building with Xbuild fails.

Open Goles opened this issue 13 years ago • 3 comments

When there's a compiler error and some warnings in the project, I usually end up where some warning is located instead of being taken to the error location.

Goles avatar Dec 17 '12 11:12 Goles

Thanks for the report! I've noticed this, but haven't been motivated to fix it until now. I hope to spend some time on this today.

My plan is to write a filter which removes noise (I get some things as errors which aren't) and sorts the warnings to the end.

eraserhd avatar Dec 17 '12 14:12 eraserhd

This doesn't fix the warnings problem, but putting this in your .vimrc will filter a lot of noise:

set errorformat=
  \%f:%l:%c:{%*[^}]}:\ error:\ %m,
  \%f:%l:%c:{%*[^}]}:\ fatal\ error:\ %m,
  \%f:%l:%c:{%*[^}]}:\ warning:\ %m,
  \%f:%l:%c:\ error:\ %m,
  \%f:%l:%c:\ fatal\ error:\ %m,
  \%f:%l:%c:\ warning:\ %m,
  \%f:%l:\ error:\ %m,
  \%f:%l:\ fatal\ error:\ %m,
  \%f:%l:\ warning:\ %m

eraserhd avatar Dec 17 '12 18:12 eraserhd

Thanks, will try this out.

Goles avatar Dec 22 '12 16:12 Goles