@github/copilot-language-server 1.285.0 → 1.286.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/types.d.ts +9 -1
- package/dist/language-server.js +337 -337
- package/dist/language-server.js.map +3 -3
- package/native/darwin-arm64/copilot-language-server +0 -0
- package/native/darwin-x64/copilot-language-server +0 -0
- package/native/linux-arm64/copilot-language-server +0 -0
- package/native/linux-x64/copilot-language-server +0 -0
- package/native/win32-x64/copilot-language-server.exe +0 -0
- package/package.json +2 -2
package/dist/api/types.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
CancellationToken,
|
|
3
|
+
Disposable,
|
|
4
|
+
DocumentSelector,
|
|
5
|
+
DocumentUri,
|
|
6
|
+
Position,
|
|
7
|
+
TextEdit,
|
|
8
|
+
} from 'vscode-languageserver-protocol';
|
|
2
9
|
|
|
3
10
|
/**
|
|
4
11
|
* The ContextProvider API allows extensions to provide additional context items that
|
|
@@ -79,6 +86,7 @@ export interface DocumentContext {
|
|
|
79
86
|
version: number;
|
|
80
87
|
offset: number;
|
|
81
88
|
position: Position;
|
|
89
|
+
edits: TextEdit[];
|
|
82
90
|
}
|
|
83
91
|
export interface ResolveRequest {
|
|
84
92
|
// A unique ID to correlate the request with the completion request.
|