[PATCH] D65998: [clangd] Added the vscode SemanticHighlighting feature code but did not enable it in the client.
Johan Vikström via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 9 05:35:49 PDT 2019
jvikstrom added inline comments.
================
Comment at: clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:62
+
+ handleNotification(params: HighlightingInformation) {
+ const tokenLines = params.lines.map((line): HighlightingLine => {
----------------
hokein wrote:
> I think the params here is defined as `SemanticHighlightingParams` from the LSP proposal, could we use the names as defined in the LSP for these structures (e.g. `SemanticHighlightingParams`, `SemanticHighlightingInformation`)?
Renaming HighlightingToken to SemanticHighlightingToken to be consistent with those names as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65998/new/
https://reviews.llvm.org/D65998
More information about the cfe-commits
mailing list