@theia/plugin 1.23.0-next.54 → 1.23.0-next.57
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/package.json +2 -2
- package/src/theia.d.ts +24 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/plugin",
|
|
3
|
-
"version": "1.23.0-next.
|
|
3
|
+
"version": "1.23.0-next.57+ab55cbea5bd",
|
|
4
4
|
"description": "Theia - Plugin API",
|
|
5
5
|
"types": "./src/theia.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"nyc": {
|
|
33
33
|
"extends": "../../configs/nyc.json"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "ab55cbea5bd570863fae348d9abaf1a54f0c0624"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -3791,6 +3791,12 @@ export module '@theia/plugin' {
|
|
|
3791
3791
|
* from the user's workspace.
|
|
3792
3792
|
*/
|
|
3793
3793
|
readonly backupId?: string;
|
|
3794
|
+
/**
|
|
3795
|
+
* If the URI is an untitled file, this will be populated with the byte data of that file.
|
|
3796
|
+
*
|
|
3797
|
+
* If this is provided, your extension should utilize this byte data rather than executing fs APIs on the URI passed in.
|
|
3798
|
+
*/
|
|
3799
|
+
readonly untitledDocumentData?: Uint8Array;
|
|
3794
3800
|
}
|
|
3795
3801
|
|
|
3796
3802
|
/**
|
|
@@ -7800,6 +7806,16 @@ export module '@theia/plugin' {
|
|
|
7800
7806
|
*/
|
|
7801
7807
|
kind?: CodeActionKind;
|
|
7802
7808
|
|
|
7809
|
+
/**
|
|
7810
|
+
* Marks that the code action cannot currently be applied.
|
|
7811
|
+
*/
|
|
7812
|
+
disabled?: { reason: string };
|
|
7813
|
+
|
|
7814
|
+
/**
|
|
7815
|
+
* Marks this as a preferred action.
|
|
7816
|
+
*/
|
|
7817
|
+
isPreferred?: boolean;
|
|
7818
|
+
|
|
7803
7819
|
/**
|
|
7804
7820
|
* Creates a new code action.
|
|
7805
7821
|
*
|
|
@@ -7865,6 +7881,13 @@ export module '@theia/plugin' {
|
|
|
7865
7881
|
* may list our every specific kind they provide, such as `CodeActionKind.Refactor.Extract.append('function`)`
|
|
7866
7882
|
*/
|
|
7867
7883
|
readonly providedCodeActionKinds?: ReadonlyArray<CodeActionKind>;
|
|
7884
|
+
|
|
7885
|
+
/**
|
|
7886
|
+
* Documentation from the provider is shown in the code actions menu
|
|
7887
|
+
*
|
|
7888
|
+
* At most one documentation entry will be shown per provider.
|
|
7889
|
+
*/
|
|
7890
|
+
documentation?: ReadonlyArray<{ command: Command, kind: CodeActionKind }>
|
|
7868
7891
|
}
|
|
7869
7892
|
|
|
7870
7893
|
/**
|
|
@@ -8019,7 +8042,7 @@ export module '@theia/plugin' {
|
|
|
8019
8042
|
/**
|
|
8020
8043
|
* String value of the kind, e.g. `"refactor.extract.function"`.
|
|
8021
8044
|
*/
|
|
8022
|
-
readonly value
|
|
8045
|
+
readonly value: string;
|
|
8023
8046
|
|
|
8024
8047
|
/**
|
|
8025
8048
|
* Create a new kind by appending a more specific selector to the current kind.
|