Skip to content

Syntax highlighting of types not always working #851

Closed
@iFreilicht

Description

@iFreilicht

When defining a type, it will not be highlighted in variable declarations.

capture

I'd expect a_struct in the last statement to be coloured the same way it is in it's definition.
And as you can see, when mousing over, cpptools clearly knows what it is looking at. Even if it didn't, the first token in this statement unambiguously is a type.

This also happens inside functions. The only types that are highlighted are the ones built in to C++ like string or uint8_t.

Is this an issue with my setup? Or could this be a bug?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions