diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e4babdc4f01..a9a9b3f870b85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Breaking changes: - In your `package.json` you can define: - `theiaPluginDir`: to specify the folder in which to download plugins, in respect to your `package.json` - `theiaPlugins`: to specify the list of plugins in the form of `"id": "url"` +- [core] renamed method `registerComositionEventListeners()` to `registerCompositionEventListeners()` [#6961](https://github.com/eclipse-theia/theia/pull/6961) - [core] removed `virtual-renderer`. `react-renderer` should be used instead [#6885](https://github.com/eclipse-theia/theia/pull/6885) - [core] removed `virtual-widget`. `react-widget` should be used instead [#6885](https://github.com/eclipse-theia/theia/pull/6885) - [task] renamed method `getStrigifiedTaskSchema()` has been renamed to `getStringifiedTaskSchema()` [#6780](https://github.com/eclipse-theia/theia/pull/6780) diff --git a/packages/core/src/browser/common-frontend-contribution.ts b/packages/core/src/browser/common-frontend-contribution.ts index e67ca2c0944bb..4ffc45f2f192c 100644 --- a/packages/core/src/browser/common-frontend-contribution.ts +++ b/packages/core/src/browser/common-frontend-contribution.ts @@ -1564,7 +1564,7 @@ export class CommonFrontendContribution implements FrontendApplicationContributi dark: 'editorWarning.foreground', light: 'editorWarning.foreground', hc: 'editorWarning.foreground' - }, description: 'Background of hovered statusbar item in case the theia server is offlline.' + }, description: 'Background of hovered statusbar item in case the theia server is offline.' }, { id: 'statusBar.offlineForeground', @@ -1572,7 +1572,7 @@ export class CommonFrontendContribution implements FrontendApplicationContributi dark: 'editor.background', light: 'editor.background', hc: 'editor.background' - }, description: 'Background of hovered statusbar item in case the theia server is offlline.' + }, description: 'Background of hovered statusbar item in case the theia server is offline.' }, { id: 'statusBarItem.offlineHoverBackground', @@ -1580,7 +1580,7 @@ export class CommonFrontendContribution implements FrontendApplicationContributi dark: Color.lighten('statusBar.offlineBackground', 0.4), light: Color.lighten('statusBar.offlineBackground', 0.4), hc: Color.lighten('statusBar.offlineBackground', 0.4) - }, description: 'Background of hovered statusbar item in case the theia server is offlline.' + }, description: 'Background of hovered statusbar item in case the theia server is offline.' }, { id: 'statusBarItem.offlineActiveBackground', @@ -1588,7 +1588,7 @@ export class CommonFrontendContribution implements FrontendApplicationContributi dark: Color.lighten('statusBar.offlineBackground', 0.6), light: Color.lighten('statusBar.offlineBackground', 0.6), hc: Color.lighten('statusBar.offlineBackground', 0.6) - }, description: 'Background of active statusbar item in case the theia server is offlline.' + }, description: 'Background of active statusbar item in case the theia server is offline.' }, // Buttons { diff --git a/packages/core/src/browser/external-uri-service.ts b/packages/core/src/browser/external-uri-service.ts index 8ccf66fd69db6..e949e8ad5fd4b 100644 --- a/packages/core/src/browser/external-uri-service.ts +++ b/packages/core/src/browser/external-uri-service.ts @@ -28,7 +28,7 @@ export class ExternalUriService { * * By default maps to an origin serving Theia. * - * Use `parseLocalhost` to retrive localhost address and port information. + * Use `parseLocalhost` to retrieve localhost address and port information. */ resolve(uri: URI): MaybePromise { const localhost = this.parseLocalhost(uri); diff --git a/packages/core/src/browser/frontend-application.ts b/packages/core/src/browser/frontend-application.ts index 54e2c3af96cc4..ee94be5c51fba 100644 --- a/packages/core/src/browser/frontend-application.ts +++ b/packages/core/src/browser/frontend-application.ts @@ -166,7 +166,7 @@ export class FrontendApplication { /** * Register composition related event listeners. */ - protected registerComositionEventListeners(): void { + protected registerCompositionEventListeners(): void { window.document.addEventListener('compositionstart', event => { this.inComposition = true; }); @@ -180,7 +180,7 @@ export class FrontendApplication { * Register global event listeners. */ protected registerEventListeners(): void { - this.registerComositionEventListeners(); /* Hotfix. See above. */ + this.registerCompositionEventListeners(); /* Hotfix. See above. */ window.addEventListener('beforeunload', () => { this.stateService.state = 'closing_window'; diff --git a/packages/core/src/browser/keyboard/browser-keyboard-layout-provider.ts b/packages/core/src/browser/keyboard/browser-keyboard-layout-provider.ts index 47a53af5d2019..9857d11d0fc16 100644 --- a/packages/core/src/browser/keyboard/browser-keyboard-layout-provider.ts +++ b/packages/core/src/browser/keyboard/browser-keyboard-layout-provider.ts @@ -388,7 +388,7 @@ function getLayoutId(layout: KeyboardLayoutData): string { } /** - * Keyboard layout files are expexted to have the following name scheme: + * Keyboard layout files are expected to have the following name scheme: * `language-name-hardware.json` * * - `language`: A language subtag according to IETF BCP 47 diff --git a/packages/core/src/browser/keyboard/keys.spec.ts b/packages/core/src/browser/keyboard/keys.spec.ts index 5c1405a415902..1dcf3150fd035 100644 --- a/packages/core/src/browser/keyboard/keys.spec.ts +++ b/packages/core/src/browser/keyboard/keys.spec.ts @@ -234,7 +234,7 @@ describe('keys api', () => { expect(keycode.key).is.equal(Key.MINUS); }); - it('should parse minus as key and seprator', () => { + it('should parse minus as key and separator', () => { const keycode = KeyCode.parse('ctrl--'); expect(keycode.ctrl).to.be.true; expect(keycode.key).is.equal(Key.MINUS); diff --git a/packages/core/src/browser/preferences/preference-contribution.ts b/packages/core/src/browser/preferences/preference-contribution.ts index e09040d5a4cf4..7cbc905518141 100644 --- a/packages/core/src/browser/preferences/preference-contribution.ts +++ b/packages/core/src/browser/preferences/preference-contribution.ts @@ -279,15 +279,15 @@ export class PreferenceSchemaProvider extends PreferenceProvider { let property; const overridden = this.overriddenPreferenceName(preferenceName); if (overridden) { - // try from overriden schema + // try from overridden schema property = this.overridePatternProperties[`[${overridden.overrideIdentifier}]`]; property = property && property[overridden.preferenceName]; if (!property) { - // try from overriden identifier + // try from overridden identifier property = this.overridePatternProperties[overridden.preferenceName]; } if (!property) { - // try from overriden value + // try from overridden value property = this.combinedSchema.properties[overridden.preferenceName]; } } else { diff --git a/packages/core/src/browser/shell/application-shell.ts b/packages/core/src/browser/shell/application-shell.ts index dc614b4c0b69a..40c77d9193f12 100644 --- a/packages/core/src/browser/shell/application-shell.ts +++ b/packages/core/src/browser/shell/application-shell.ts @@ -48,7 +48,7 @@ const MAIN_AREA_CLASS = 'theia-app-main'; const BOTTOM_AREA_CLASS = 'theia-app-bottom'; export type ApplicationShellLayoutVersion = - /** layout versioning is introduced, unversiouned layout are not compatible */ + /** layout versioning is introduced, unversioned layout are not compatible */ 2.0 | /** view containers are introduced, backward compatible to 2.0 */ 3.0; diff --git a/packages/core/src/browser/shell/tab-bars.ts b/packages/core/src/browser/shell/tab-bars.ts index 56479de17fcef..78b9e25686a85 100644 --- a/packages/core/src/browser/shell/tab-bars.ts +++ b/packages/core/src/browser/shell/tab-bars.ts @@ -73,7 +73,7 @@ export class TabBarRenderer extends TabBar.Renderer { // TODO refactor shell, rendered should only receive props with event handlers // events should be handled by clients, like ApplicationShell - // right now it is mess: (1) client logic belong to renderer, (2) cyclic dependencies between renderes and clients + // right now it is mess: (1) client logic belong to renderer, (2) cyclic dependencies between renderers and clients constructor( protected readonly contextMenuRenderer?: ContextMenuRenderer, protected readonly decoratorService?: TabBarDecoratorService,