2012/2/24 Christian Brabandt <cblists@256bit.org>
-- On Fri, February 24, 2012 08:30, Caesarmv wrote:> *./file1.c:123:15 warning: warning text here*
> Hi All,
>
> I am trying to jump through C code warnings.
>
> I have file with gcc warnings in /home/user/warn.txt:
>
> *./file2.c:111:11 warning: warning text here*
> *./file3.c:133:10 warning: warning text here*
>Shouldn't
> I've code in /home/user/code_path, where files
> under /home/user/code_path/path_dir1/path_dir2/file1.c
>
>
> I tried to use errorformat and caddbuffer command but no result.
>
> I want to achieve the following.
> When I press key on current warning line, vim opens code in new tab and
> jumps to line and column specified in warning.
>
> Could you please help me to setup vim to jump between warnings?
>
:compiler gcc
just take care of this?
Yes, it should. But currently I can't to achieve this.
So I decided to use log file. It's ok for me currently.
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment