Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsSyntax Error Squiggly lines
https://www.eclipse.org/forums/index.php/mv/msg/75681/236289/#msg_236289
highlight instead? The basic problem is that the squiggly line covers
up the bottom part of the test making it extremely difficult to
actually find the error. Like the difference between a period and a
comma. Maybe it just happens to be the font that I am using..
Mike Jackson]]>Mike Jackson2009-07-22T15:05:17-00:00Re: Syntax Error Squiggly lines
https://www.eclipse.org/forums/index.php/mv/msg/75681/236374/#msg_236374
> Is there a setting to change the yellow syntax error squiggly line to a
> highlight instead? The basic problem is that the squiggly line covers
> up the bottom part of the test making it extremely difficult to
> actually find the error. Like the difference between a period and a
> comma. Maybe it just happens to be the font that I am using..
If you asking about indexer annotations you can change them in preferences
General/Editors/Text Editors/Annotations. Or just type "annotations" in
preferences search box.
> Mike Jackson wrote:
>
>> Is there a setting to change the yellow syntax error squiggly line to a
>> highlight instead? The basic problem is that the squiggly line covers
>> up the bottom part of the test making it extremely difficult to
>> actually find the error. Like the difference between a period and a
>> comma. Maybe it just happens to be the font that I am using..
>
> If you asking about indexer annotations you can change them in
> preferences General/Editors/Text Editors/Annotations. Or just type
> "annotations" in preferences search box.
>
> Andrew
I think I am talking about if I type the following
int i
i = 0;
note the lack of a semi-colon at the end of the first line. CDT will
put a squiggly yellow line under that line. THAT is what I want to
change to a highlight.
Mike]]>Mike Jackson2009-07-23T17:07:11-00:00Re: Syntax Error Squiggly lines
https://www.eclipse.org/forums/index.php/mv/msg/75681/466492/#msg_466492
unfortunately, setting it to highlight instead does not seem possible. The
setting can found here:
select "C/C++ Index Markers" from the "Annotation Types" listbox
Uncheck the "Text as: ..." checkbox to disable the squiggly-line.
.... but a slightly more preferable option may be to choose a different
color for the squiggle (I found a color to my satisfaction by reducing the
saturation value of the default color).
> I found where it is possible to disable the squiggly-line; but,
> unfortunately, setting it to highlight instead does not seem possible.
> The setting can found here:
>
> window->preferences
> |-General->Editors->Annotations
>
> select "C/C++ Index Markers" from the "Annotation Types" listbox
>
> Uncheck the "Text as: ..." checkbox to disable the squiggly-line.
>
> ... but a slightly more preferable option may be to choose a different
> color for the squiggle (I found a color to my satisfaction by reducing
> the saturation value of the default color).
>
> Not a solution, but I hope that helps.
>
> Cheers,
> ~Andrew~
While not the optimal solution this did help. Thanks for the hint.