mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat(lsp): Implement textDocument/semanticTokens/full (#10233)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
This commit is contained in:
parent
b6203cb465
commit
6d404ec54b
11 changed files with 648 additions and 3 deletions
8
cli/tsc/compiler.d.ts
vendored
8
cli/tsc/compiler.d.ts
vendored
|
@ -56,6 +56,7 @@ declare global {
|
|||
| GetDefinitionRequest
|
||||
| GetDiagnosticsRequest
|
||||
| GetDocumentHighlightsRequest
|
||||
| GetEncodedSemanticClassifications
|
||||
| GetImplementationRequest
|
||||
| GetNavigationTree
|
||||
| GetOutliningSpans
|
||||
|
@ -144,6 +145,13 @@ declare global {
|
|||
filesToSearch: string[];
|
||||
}
|
||||
|
||||
interface GetEncodedSemanticClassifications
|
||||
extends BaseLanguageServerRequest {
|
||||
method: "getEncodedSemanticClassifications";
|
||||
specifier: string;
|
||||
span: ts.TextSpan;
|
||||
}
|
||||
|
||||
interface GetImplementationRequest extends BaseLanguageServerRequest {
|
||||
method: "getImplementation";
|
||||
specifier: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue