[PATCH] D66990: [clangd] Add distinct highlightings for declarations of functions and methods
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 31 21:54:27 PDT 2019
nridge added a comment.
There is precedent for highlighting declarations and uses differently in other C++ editors. For example, Eclipse CDT has separate highlightings for function and functions declarations (see screenshot below).
Objectively speaking, I think it makes sense to style function declarations differently from function uses for emphasis. For example, you can use the same color for both, but make the declarations bold. I have found this to aid readability.
F9891365: cdt-syntax-color.png <https://reviews.llvm.org/F9891365>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66990/new/
https://reviews.llvm.org/D66990
More information about the cfe-commits
mailing list