|
From: | Dmitry Gutov |
Subject: | bug#71070: 30.0.50; c++-ts-mode namespace wrong fontification. |
Date: | Wed, 22 May 2024 16:33:21 +0300 |
User-agent: | Mozilla Thunderbird |
On 22/05/2024 15:17, Eli Zaretskii wrote:
Date: Wed, 22 May 2024 02:27:08 +0300 Cc:casouri@gmail.com,71070@debbugs.gnu.org From: Dmitry Gutov<dmitry@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).
[Prev in Thread] | Current Thread | [Next in Thread] |