-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Environment:
- Ubuntu 24.04
- Clang 20
Moving, then changing the indentation of a single line of code breaks the syntax coloring. It happens only on large files, I couldn't reproduce it on smaller ones.
The clangd console displays an error "documentHighlight: Task was cancelled":
I[14:41:57.229] <-- textDocument/documentHighlight("2116")
I[14:41:57.230] --> reply:textDocument/documentHighlight("2116") 0 ms
I[14:41:58.345] <-- textDocument/documentHighlight("2117")
I[14:41:58.345] --> reply:textDocument/documentHighlight("2117") 0 ms
I[14:41:59.111] <-- textDocument/didChange
I[14:41:59.205] <-- textDocument/documentHighlight("2118")
I[14:41:59.213] ASTWorker building file ****** version 32 with command ******
I[14:41:59.257] <-- textDocument/didChange
I[14:41:59.707] <-- $/cancelRequest
I[14:41:59.708] <-- textDocument/documentHighlight("2119")
I[14:41:59.758] <-- textDocument/semanticTokens/full("2120")
I[14:41:59.759] <-- textDocument/inlayHint("2121")
I[14:41:59.779] --> textDocument/publishDiagnostics
I[14:41:59.787] --> reply:textDocument/documentHighlight("2118") 581 ms, error: Task was cancelled.
I[14:41:59.799] ASTWorker building file ******* version 33 with command ********
I[14:42:00.399] --> textDocument/publishDiagnostics
I[14:42:00.410] --> reply:textDocument/documentHighlight("2119") 702 ms
I[14:42:00.418] --> reply:textDocument/semanticTokens/full("2120") 659 ms
I[14:42:00.423] <-- textDocument/documentLink("2122")
I[14:42:00.423] <-- textDocument/foldingRange("2123")
I[14:42:00.430] --> reply:textDocument/inlayHint("2121") 670 ms
I[14:42:00.436] --> reply:textDocument/documentLink("2122") 12 ms
I[14:42:00.443] --> reply:textDocument/foldingRange("2123") 19 ms
I[14:42:00.925] <-- textDocument/documentLink("2124")
I[14:42:00.925] --> reply:textDocument/documentLink("2124") 0 ms
I[14:42:01.426] <-- textDocument/documentLink("2125")
I[14:42:01.426] --> reply:textDocument/documentLink("2125") 0 ms
Metadata
Metadata
Assignees
Labels
No labels