@theia/plugin 1.23.0-next.34 → 1.23.0-next.35
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 +16 -0
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.35+f7dda0890ee",
|
|
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": "f7dda0890eeaaa9da9246b615c6a2564bd651a26"
|
|
36
36
|
}
|
package/src/theia.d.ts
CHANGED
|
@@ -7836,6 +7836,22 @@ export module '@theia/plugin' {
|
|
|
7836
7836
|
context: CodeActionContext,
|
|
7837
7837
|
token: CancellationToken | undefined
|
|
7838
7838
|
): ProviderResult<(Command | CodeAction)[]>;
|
|
7839
|
+
|
|
7840
|
+
/**
|
|
7841
|
+
* Given a code action fill in its `edit`-property. Changes to
|
|
7842
|
+
* all other properties, like title, are ignored. A code action that has an edit
|
|
7843
|
+
* will not be resolved.
|
|
7844
|
+
*
|
|
7845
|
+
* *Note* that a code action provider that returns commands, not code actions, cannot successfully
|
|
7846
|
+
* implement this function. Returning commands is deprecated and instead code actions should be
|
|
7847
|
+
* returned.
|
|
7848
|
+
*
|
|
7849
|
+
* @param codeAction A code action.
|
|
7850
|
+
* @param token A cancellation token.
|
|
7851
|
+
* @return The resolved code action or a thenable that resolves to such. It is OK to return the given
|
|
7852
|
+
* `item`. When no result is returned, the given `item` will be used.
|
|
7853
|
+
*/
|
|
7854
|
+
resolveCodeAction?(codeAction: CodeAction, token: CancellationToken | undefined): ProviderResult<CodeAction>;
|
|
7839
7855
|
}
|
|
7840
7856
|
|
|
7841
7857
|
/**
|