File tree 1 file changed +0
-19
lines changed
CodeEdit/Features/LSP/LanguageServer/Capabilities
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import LanguageServerProtocol
11
11
extension LanguageServer {
12
12
func requestSemanticTokens( for documentURI: String ) async throws -> SemanticTokensResponse {
13
13
do {
14
- // No logging, called too often
15
14
let params = SemanticTokensParams ( textDocument: TextDocumentIdentifier ( uri: documentURI) )
16
15
return try await lspInstance. semanticTokensFull ( params)
17
16
} catch {
@@ -20,29 +19,11 @@ extension LanguageServer {
20
19
}
21
20
}
22
21
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
-
40
22
func requestSemanticTokens(
41
23
for documentURI: String ,
42
24
previousResultId: String
43
25
) async throws -> SemanticTokensDeltaResponse {
44
26
do {
45
- // No logging, called too often
46
27
let params = SemanticTokensDeltaParams (
47
28
textDocument: TextDocumentIdentifier ( uri: documentURI) ,
48
29
previousResultId: previousResultId
You can’t perform that action at this time.
0 commit comments