[Qt-creator] clang code model, markers and messages

Nikolai Kosjar nikolai.kosjar at theqtcompany.com
Mon Nov 2 15:23:19 CET 2015


Hi!

On 10/30/2015 04:34 PM, Cristian Tibirna wrote:
> I activated the clang code model for C++ source files. I start seen
> red error ("stop" hexagons (why not octagons?)) on the left border
> of the editor at lines that contain C++ errors.

So far the icons are stolen from the project explorer plugin. We need
custom ones so it's possible to tell apart code model diagnostics from
actual build diagnostics.

(hexagons? They are octagons here...)

> Sometimes, I can get to the message associated to this marker by
> luckily floating the mouse over a part of the marked code line that
> happens to pop the clang error message rather than some type
> descriptor. Other times, I find myself "peaking" at the code line
> with the mouse in the hope that the error message will appear, to no
> avail.

I haven't run into this yet. A diagnostic range at that point might be
too short. Please create a bug report with some example code.

> I wonder why the error message is not displayed when hovering over
> or clicking on the stop hexagons.

That's simply not yet implemented.

Nikolai



More information about the Qt-creator mailing list