@theia/plugin 1.17.2 → 1.18.0-next.05f289b3

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 +15 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theia/plugin",
3
- "version": "1.17.2",
3
+ "version": "1.18.0-next.05f289b3",
4
4
  "description": "Theia - Plugin API",
5
5
  "types": "./src/theia.d.ts",
6
6
  "publishConfig": {
@@ -26,7 +26,7 @@
26
26
  "test": "theiaext test"
27
27
  },
28
28
  "devDependencies": {
29
- "@theia/ext-scripts": "1.17.2"
29
+ "@theia/ext-scripts": "1.18.0-next.05f289b3"
30
30
  },
31
31
  "nyc": {
32
32
  "extends": "../../configs/nyc.json"
package/src/theia.d.ts CHANGED
@@ -4827,6 +4827,12 @@ declare module '@theia/plugin' {
4827
4827
  */
4828
4828
  title?: string;
4829
4829
 
4830
+ /**
4831
+ * An optional human-readable subheading that will be rendered next to the main title.
4832
+ * Setting the description to null, undefined, or empty string will remove the message from the view.
4833
+ */
4834
+ description?: string;
4835
+
4830
4836
  /**
4831
4837
  * Reveal an element. By default revealed element is selected.
4832
4838
  *
@@ -6148,7 +6154,7 @@ declare module '@theia/plugin' {
6148
6154
  *
6149
6155
  * @sample `let sel:DocumentSelector = { scheme: 'file', language: 'typescript' }`;
6150
6156
  */
6151
- export type DocumentSelector = DocumentFilter | string | Array<DocumentFilter | string>;
6157
+ export type DocumentSelector = DocumentFilter | string | ReadonlyArray<DocumentFilter | string>;
6152
6158
 
6153
6159
  /**
6154
6160
  * A tuple of two characters, like a pair of
@@ -6259,6 +6265,14 @@ declare module '@theia/plugin' {
6259
6265
  * and various editor features, like automatic bracket insertion, automatic indentation etc.
6260
6266
  */
6261
6267
  export interface LanguageConfiguration {
6268
+ /**
6269
+ * @deprecated Use the autoClosingPairs property in the language configuration file instead.
6270
+ */
6271
+ __characterPairSupport?: { autoClosingPairs: { close: String, notIn: String[], open: String }[] }
6272
+ /**
6273
+ * @deprecated Do not use. Will be replaced by a better API soon.
6274
+ */
6275
+ __electricCharacterSupport?: { brackets: any, docComment: { close: String, lineStart: String, open: String, scope: String } }
6262
6276
  /**
6263
6277
  * The language's comment settings.
6264
6278
  */