Wrong response to Semantic Tokens request in Swift 6.4
Swift Forums
Wrong response to Semantic Tokens request in Swift 6.4
Hi all, I am working on a custom editor that uses sourcekit-lsp for syntax highlighting. Here is how it works: My editor sends the textDocument/semanticTokens/full request to sourcekit-lsp and receives a response containing an array of integers (five integers per token) that describes what tokens my source code contains and where they are located. Let's take for example this source code: // test print("Hello, World!") How it worked in Swift 6.3.3 The response was like this: {"id":"11","js...
0 comments
No comments yet.