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:
However, when using intellisense as the parser this does not happen as it only provides the local modifier:
(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)
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:However, when using intellisense as the parser this does not happen as it only provides the
local
modifier:(for colorblind people, the variable
constVar
has a dark blue color in the first image and has the same color asnonConst
in the second one)