Skip to content

Add semantic token modifier for constant variables #12061

Open
@jmigual

Description

@jmigual

Feature Request

When using the clangd extension, it provides the readonly rule/token modifier (sorry I don't know the exact terminology) that can be used to highlight constant variables:
image

However, when using intellisense as the parser this does not happen as it only provides the local modifier:
image

(for colorblind people, the variable constVar has a dark blue color in the first image and has the same color as nonConst in the second one)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions