You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To suppport textDocument/semanticTokens/full/delta,
Several things need to be taken care of.
Use the cache in the shake usesWithStale or create new dedicated cache for semantic tokens
we need a dedicated cache, since stale corresponding to the last successful computation, and what we need is the last successful response. (since range in successful computation might be edited by possitional mappings to generate a successful response)
new entry in ShakeExtras, semanticTokens :: STM.Map NormalizedUri SemanticTokens
Assign a new id to each response of semantic tokens.
new entry in ShakeExtras, semanticTokensId :: TVar Int
The text was updated successfully, but these errors were encountered:
To suppport textDocument/semanticTokens/full/delta,
Several things need to be taken care of.
the cache in the shakecreate new dedicated cache for semantic tokensusesWithStale
orShakeExtras
,semanticTokens :: STM.Map NormalizedUri SemanticTokens
ShakeExtras
,semanticTokensId :: TVar Int
The text was updated successfully, but these errors were encountered: