GNU bug report logs -
#71070
30.0.50; c++-ts-mode namespace wrong fontification.
Previous Next
Reported by: Ergus <spacibba <at> aol.com>
Date: Sun, 19 May 2024 18:15:02 UTC
Severity: normal
Found in version 30.0.50
Done: Yuan Fu <casouri <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #35 received at 71070 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> On May 22, 2024, at 6:33â¯AM, Dmitry Gutov <dmitry <at> gutov.dev> wrote:
>
> On 22/05/2024 15:17, Eli Zaretskii wrote:
>>> Date: Wed, 22 May 2024 02:27:08 +0300
>>> Cc:casouri <at> gmail.com,71070 <at> debbugs.gnu.org
>>> From: Dmitry Gutov<dmitry <at> gutov.dev>
>>>
>>>> I understand all that, but still: can you (or someone else) answer my
>>>> question about the accepted practices of IDEs in this matter: do they
>>>> highlight the namespace identifiers differently than other
>>>> identifiers, or do they use the same highlighting?
>>> Does the attached screenshot answer the question? It's from VS Code.
>> Thanks. Not sure I get it completely. It seems like namespace names
>> are fontified like class names? They are not fontified like
>> constants.
>
> Seems like it (although some themes might use some additional colors to differentiate between these two, the default theme does not).
>
> Perhaps it is done so that the expression foo::class_name reads naturally (in one color).
Am I missing something? I got the exact opposite conclusion from the screenshot: it seems the effect is that namespaces are colored differently from class names:
[Screenshot 2024-06-05 at 10.27.31 PM.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Yuan
This bug report was last modified 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.