Questions tagged [errorformat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
63 views

Multiline errorformat

I would like to parse the latex log to extract warnings from the refcheck package. These warnings look like this Package refcheck Warning: Unused label `eq:my_equation_label' on input line 2 28. The ...
1
vote
1answer
167 views

Ignore lines in errorformat

I am writing a compiler plugin for eslint. It mostly works, but I want to ignore some lines in the output and am unsure how. I'm using the eslint "unix" format, which outputs errors like so: /Users/...
3
votes
1answer
117 views

Errorformat for jest output

I'm trying to configure vim to understand the jest output error format to be able to include it in the quickfix list. Although it does work partly (at least getting the file name and line/column ...
0
votes
0answers
67 views

Errors are not identified in quickfix window

I am using TI compiler and when I build and errors appear in quick fix, they are not identified. The errors look like this in terminal: "/home/sporty/HydroGuardFW/hw_2_0/hg_os/coap_resources/...
2
votes
1answer
217 views

How to set up compiler globally?

In my vimrc, I have a compiler myCompiler. When the editor starts up, everything is fine. When I switch to a new file, the compiler settings (makeprg and errorformat) revert to their defaults. How ...
0
votes
1answer
318 views

Errorformat not recognizing my errors

I have errors which looks like this: [Error] Z:\absolute\file\path.cpp(42): error C2065: 'foo': undeclared identifier [Info] Z:\another\file\path.cpp(42): error C2050: 'foo': switch expression not ...
5
votes
1answer
708 views

need help with vim errorformat to parse multi-line make (gcc) output

I'm struggling to get vim (8.0 (2016 Sep 12)) to parse the output of my build system, and need help with defining my errorformat. The default gcc efm appears to not be matching any lines, so in ...
0
votes
1answer
57 views

errorformat: can't understand how to handle error for my parser

I have a parser which output this kind of messages: || Error: M:\workdir\MyFile.ja: line 38: "Blablabla" has no license declaration || Error: M:\workdir\MyFile.ja: unknown attribute "blabla" |...
3
votes
1answer
362 views

More error context in the QuickFix window?

The output of certain compilers (e.g., LaTeX) is incredibly difficult to parse using an error format string. There are always edge cases that leave out the context of errors. So, is there any way I ...
1
vote
0answers
342 views

What does an at sign (@) do in a VIM errorformat string - I can't figure out the example from VIM's docs

The below example, straight out of the VIM documentation, uses an "at sign" yet nowhere else in the entire document is it mentioned or explained. Another example: Think of a Python interpreter that ...
5
votes
1answer
621 views

Print an error message without “Error detected while processing function”

If I type: :echoerr "test error" I simply get the message printed (with red background): test error However, inside a function: function! Printerror() echoerr "test error" endfunction I get ...
2
votes
2answers
172 views

`'errorformat'` incorrectly matching file name

Consider the following 'errorformat' configuration: set errorformat=%f:%l:\ %m And the following message: %Warning-ASSIGNDLY: test.v:1: Unsupported: Ignoring delay. While I expected that this ...
4
votes
1answer
110 views

errorformat for Java junit output

I am trying to get VIM to jump to the file listed in the error. So the following is the error. || 1) test01(ErrorTest0) || java.lang.NullPointerException || at Line.equals(Line.java:43) || at ...
1
vote
1answer
224 views

Jump to linker errors in quickfix

How can I make linker errors jumpable in quickfix? Example: int foo(void); int main(int argc, char* argv[]) { foo(); } Start up vim and run :set makeprg=gcc\ % and try :make. This produces a ...
0
votes
1answer
80 views

How to merge multiple strings in errorformat

Suppose a source code interpreter outputs the error messages in the following format: M123 Warning path/to/file 123 Description message That is: error_code error_type file line_number message How ...