diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_error_parsers.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_error_parsers.htm index 2baba3ff239..3c952d48ca1 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_error_parsers.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_pref_build_error_parsers.htm @@ -13,12 +13,18 @@

Error Parser Options

-

Use the Error Parsers tab on - Build preference panel to define global error parsing options.

+

Use the Error Parsers Tab on + Build preference panel to define global error parsing options. +

+

Error Parsers scan build output looking for potential error or warning messages. + They create Problem Markers which help to visualize problems for users. + Most of Error Parsers scan build output line by line and check if the line match a certain pattern. + This preference page lets define those patterns. +

Build Preferences Panel

- + @@ -53,6 +59,67 @@
Error Parser OptionsError Parsers
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Error Parser Patterns
FieldDescription
SeverityDefines severity of problem marker to be generated. The choice is one of following: +
    +
    Error Error +
    Warning Warning +
    InfoInfo +
    Ignore Ignore - use this option + to suppress generating a marker. +
PatternJava regular expression pattern. This pattern should define groups in parentheses for using + in File, Line, and Description fields. +
The pattern is assumed to start from the beginning of line and end at the end, + so it is unnecessary to specify starting "^" or ending "$" in the pattern. +
FileDefine a file which will be associated with the problem marker. +
This is a replacement pattern. Use $ notation + to refer to one of the the groups defined in Pattern, + i.e. $1, $2,$3 etc. +
LineDefine a line in the file which will be associated with the problem marker. +
This is a replacement pattern like for File field. +
DescriptionDefine a description which will be assigned to the problem marker. +
This is a replacement pattern like for File field. +
ConsumeThis field defines if the pattern stops processing of output line (consumes it). + By default it does (field is empty). + Use No if the same line needs to be processed by several patterns. +
+

Related concepts
Build overview

@@ -64,7 +131,7 @@

Related reference -
Error Parsers tab +
Project properties, Error Parsers tab
Console View
Problems View

diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_error_parser.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_error_parser.htm index cf5fd53b2cc..12439d14de5 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_error_parser.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_error_parser.htm @@ -54,7 +54,7 @@ Note that that kind of parser needs to be the first to be able to provide the CW

@@ -83,6 +83,7 @@ Note that that kind of parser needs to be the first to be able to provide the CW

Related reference
Console View
Problems View +
Make Targets View
Error Parsers tab
Error Parser Options