[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A few questions about c++-ts-mode.
From: |
Ergus |
Subject: |
A few questions about c++-ts-mode. |
Date: |
Wed, 8 May 2024 00:59:40 +0200 |
Hi
There are a few differences between c++-ts-mode and c++-mode that I
don't know if should be reported or they are like that due to some
design choice.
1. namespaces are not fontified like in c-mode (i.e in std::string the
`std` used to have font-lock-constant-face while `string` used to have
font-lock-type-face). It seems like tresitter identifies properly them
like (namespace_identifier) and (type_identifier)
2. Doc string comments are fontified like normal comments. It looks like
treesiter does not recognize them at all. Is this something we need to
report to treesitter or we need to workaround it in emacs side?
3. macros like `#if defined(something)` fontifies the whole macro with
same font (the `identifier` used to have no colors in c++-mode)
Somehow related:
Now that there is treesitter, eglot, project.el, improved xref and
completions + flymake... does anyone still use CEDET? If not... is there
some plan to remove it in the future? There is few documentation around
mentioning it and created confusion in new users...
Thanks in advance,
Ergus
- A few questions about c++-ts-mode.,
Ergus <=