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
There are client capabilities for if the client supports these. But if they don't, we can still support them gracefully I think. The conversion functions can take the client capabilities and then implement a workaround if the capabilities aren't supported:
For overlapping tokens, split the overlapped token so into the part before the overlapping token and the part after the overlapping token, so you get something like: [<string>"hello ${a} world"][<variable>a] -> [<string>"hello ${][<variable>a][<string>} world"]
For multiline tokens, split them at the line breaks into one token per line.
The text was updated successfully, but these errors were encountered:
michaelpj
changed the title
Support multiline and overlapping tokens
Support multiline and overlapping semantic tokens
Jan 18, 2024
There are client capabilities for if the client supports these. But if they don't, we can still support them gracefully I think. The conversion functions can take the client capabilities and then implement a workaround if the capabilities aren't supported:
For overlapping tokens, split the overlapped token so into the part before the overlapping token and the part after the overlapping token, so you get something like: [<string>"hello ${a} world"][<variable>a] -> [<string>"hello ${][<variable>a][<string>} world"]
For multiline tokens, split them at the line breaks into one token per line.
There are client capabilities for if the client supports these. But if they don't, we can still support them gracefully I think. The conversion functions can take the client capabilities and then implement a workaround if the capabilities aren't supported:
[<string>"hello ${a} world"][<variable>a]
->[<string>"hello ${][<variable>a][<string>} world"]
The text was updated successfully, but these errors were encountered: