@theia/plugin 1.23.0-next.51 → 1.23.0-next.55

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/theia.d.ts +18 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.23.0-next.51+ec7ed046b56",
3
+ "version": "1.23.0-next.55+786c1ba5aa9",
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": "ec7ed046b56f803490c85363ea47a09967cd57ff"
35
+ "gitHead": "786c1ba5aa97449a516dae353758e61bebf8c3b5"
36
36
  }
package/src/theia.d.ts CHANGED
@@ -7800,6 +7800,16 @@ export module '@theia/plugin' {
7800
7800
  */
7801
7801
  kind?: CodeActionKind;
7802
7802
 
7803
+ /**
7804
+ * Marks that the code action cannot currently be applied.
7805
+ */
7806
+ disabled?: { reason: string };
7807
+
7808
+ /**
7809
+ * Marks this as a preferred action.
7810
+ */
7811
+ isPreferred?: boolean;
7812
+
7803
7813
  /**
7804
7814
  * Creates a new code action.
7805
7815
  *
@@ -7865,6 +7875,13 @@ export module '@theia/plugin' {
7865
7875
  * may list our every specific kind they provide, such as `CodeActionKind.Refactor.Extract.append('function`)`
7866
7876
  */
7867
7877
  readonly providedCodeActionKinds?: ReadonlyArray<CodeActionKind>;
7878
+
7879
+ /**
7880
+ * Documentation from the provider is shown in the code actions menu
7881
+ *
7882
+ * At most one documentation entry will be shown per provider.
7883
+ */
7884
+ documentation?: ReadonlyArray<{ command: Command, kind: CodeActionKind }>
7868
7885
  }
7869
7886
 
7870
7887
  /**
@@ -8019,7 +8036,7 @@ export module '@theia/plugin' {
8019
8036
  /**
8020
8037
  * String value of the kind, e.g. `"refactor.extract.function"`.
8021
8038
  */
8022
- readonly value?: string;
8039
+ readonly value: string;
8023
8040
 
8024
8041
  /**
8025
8042
  * Create a new kind by appending a more specific selector to the current kind.