so that we don't have too many usage from the client side (just a single
occurrance for register), this also aligns with how other builtin feature
being implemented in vscode.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37720 Build 37719: arc lint + arc unit
Event Timeline
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts | ||
---|---|---|
88 | Could we subscribe to client.onDidChangeState and dispose() whenever clangd crashes or stops? |
Could we subscribe to client.onDidChangeState and dispose() whenever clangd crashes or stops?
This would ensure our initialize <-> dispose calls are properly paired and we will remove the highlightings even if clangd never restarts (I guess that could happen when we crash more than 5 times in a short timespan)