File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
CodeEdit/Features/LSP/LanguageServer/Capabilities Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import LanguageServerProtocol
1111extension LanguageServer {
1212 func requestSemanticTokens( for documentURI: String ) async throws -> SemanticTokensResponse {
1313 do {
14- // No logging, called too often
1514 let params = SemanticTokensParams ( textDocument: TextDocumentIdentifier ( uri: documentURI) )
1615 return try await lspInstance. semanticTokensFull ( params)
1716 } catch {
@@ -20,29 +19,11 @@ extension LanguageServer {
2019 }
2120 }
2221
23- // Unused
24- // func requestSemanticTokens(
25- // for documentURI: String,
26- // forRange range: LSPRange
27- // ) async throws -> SemanticTokensResponse {
28- // do {
29- // let params = SemanticTokensRangeParams(
30- // textDocument: TextDocumentIdentifier(uri: documentURI),
31- // range: range
32- // )
33- // return try await lspInstance.semanticTokensRange(params)
34- // } catch {
35- // logger.warning("requestSemanticTokens range: Error \(error)")
36- // throw error
37- // }
38- // }
39-
4022 func requestSemanticTokens(
4123 for documentURI: String ,
4224 previousResultId: String
4325 ) async throws -> SemanticTokensDeltaResponse {
4426 do {
45- // No logging, called too often
4627 let params = SemanticTokensDeltaParams (
4728 textDocument: TextDocumentIdentifier ( uri: documentURI) ,
4829 previousResultId: previousResultId
You can’t perform that action at this time.
0 commit comments