@theia/monaco 1.65.0-next.6 → 1.65.1

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 (54) hide show
  1. package/lib/browser/markdown-renderer/monaco-markdown-renderer.d.ts +2 -2
  2. package/lib/browser/markdown-renderer/monaco-markdown-renderer.d.ts.map +1 -1
  3. package/lib/browser/markdown-renderer/monaco-markdown-renderer.js +1 -1
  4. package/lib/browser/markdown-renderer/monaco-markdown-renderer.js.map +1 -1
  5. package/lib/browser/monaco-code-action-service.d.ts +1 -1
  6. package/lib/browser/monaco-code-action-service.d.ts.map +1 -1
  7. package/lib/browser/monaco-code-action-service.js +2 -2
  8. package/lib/browser/monaco-code-action-service.js.map +1 -1
  9. package/lib/browser/monaco-editor-model.d.ts +5 -1
  10. package/lib/browser/monaco-editor-model.d.ts.map +1 -1
  11. package/lib/browser/monaco-editor-model.js +11 -1
  12. package/lib/browser/monaco-editor-model.js.map +1 -1
  13. package/lib/browser/monaco-editor-provider.d.ts +3 -2
  14. package/lib/browser/monaco-editor-provider.d.ts.map +1 -1
  15. package/lib/browser/monaco-editor-provider.js +9 -9
  16. package/lib/browser/monaco-editor-provider.js.map +1 -1
  17. package/lib/browser/monaco-editor-service.d.ts +2 -2
  18. package/lib/browser/monaco-editor-service.d.ts.map +1 -1
  19. package/lib/browser/monaco-editor-service.js +1 -1
  20. package/lib/browser/monaco-editor-service.js.map +1 -1
  21. package/lib/browser/monaco-formatting-conflicts.d.ts +2 -1
  22. package/lib/browser/monaco-formatting-conflicts.d.ts.map +1 -1
  23. package/lib/browser/monaco-formatting-conflicts.js +7 -7
  24. package/lib/browser/monaco-formatting-conflicts.js.map +1 -1
  25. package/lib/browser/monaco-frontend-application-contribution.d.ts +3 -2
  26. package/lib/browser/monaco-frontend-application-contribution.d.ts.map +1 -1
  27. package/lib/browser/monaco-frontend-application-contribution.js +3 -3
  28. package/lib/browser/monaco-frontend-application-contribution.js.map +1 -1
  29. package/lib/browser/monaco-frontend-module.js +8 -8
  30. package/lib/browser/monaco-frontend-module.js.map +1 -1
  31. package/lib/browser/monaco-text-model-service.d.ts +1 -1
  32. package/lib/browser/monaco-text-model-service.d.ts.map +1 -1
  33. package/lib/browser/monaco-text-model-service.js +2 -2
  34. package/lib/browser/monaco-text-model-service.js.map +1 -1
  35. package/lib/browser/monaco-workspace.d.ts +3 -2
  36. package/lib/browser/monaco-workspace.d.ts.map +1 -1
  37. package/lib/browser/monaco-workspace.js +20 -19
  38. package/lib/browser/monaco-workspace.js.map +1 -1
  39. package/lib/browser/textmate/monaco-textmate-service.d.ts +1 -1
  40. package/lib/browser/textmate/monaco-textmate-service.d.ts.map +1 -1
  41. package/lib/browser/textmate/monaco-textmate-service.js +1 -1
  42. package/lib/browser/textmate/monaco-textmate-service.js.map +1 -1
  43. package/package.json +9 -9
  44. package/src/browser/markdown-renderer/monaco-markdown-renderer.ts +2 -2
  45. package/src/browser/monaco-code-action-service.ts +1 -1
  46. package/src/browser/monaco-editor-model.ts +13 -2
  47. package/src/browser/monaco-editor-provider.ts +3 -2
  48. package/src/browser/monaco-editor-service.ts +2 -2
  49. package/src/browser/monaco-formatting-conflicts.ts +2 -1
  50. package/src/browser/monaco-frontend-application-contribution.ts +5 -5
  51. package/src/browser/monaco-frontend-module.ts +8 -8
  52. package/src/browser/monaco-text-model-service.ts +1 -1
  53. package/src/browser/monaco-workspace.ts +3 -2
  54. package/src/browser/textmate/monaco-textmate-service.ts +1 -1
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@theia/monaco",
3
- "version": "1.65.0-next.6+4384a9461",
3
+ "version": "1.65.1",
4
4
  "description": "Theia - Monaco Extension",
5
5
  "dependencies": {
6
- "@theia/core": "1.65.0-next.6+4384a9461",
7
- "@theia/editor": "1.65.0-next.6+4384a9461",
8
- "@theia/filesystem": "1.65.0-next.6+4384a9461",
9
- "@theia/markers": "1.65.0-next.6+4384a9461",
6
+ "@theia/core": "1.65.1",
7
+ "@theia/editor": "1.65.1",
8
+ "@theia/filesystem": "1.65.1",
9
+ "@theia/markers": "1.65.1",
10
10
  "@theia/monaco-editor-core": "1.96.302",
11
- "@theia/outline-view": "1.65.0-next.6+4384a9461",
12
- "@theia/workspace": "1.65.0-next.6+4384a9461",
11
+ "@theia/outline-view": "1.65.1",
12
+ "@theia/workspace": "1.65.1",
13
13
  "fast-plist": "^0.1.2",
14
14
  "idb": "^4.0.5",
15
15
  "jsonc-parser": "^2.2.0",
@@ -52,10 +52,10 @@
52
52
  "watch": "theiaext watch"
53
53
  },
54
54
  "devDependencies": {
55
- "@theia/ext-scripts": "1.64.0"
55
+ "@theia/ext-scripts": "1.65.1"
56
56
  },
57
57
  "nyc": {
58
58
  "extends": "../../configs/nyc.json"
59
59
  },
60
- "gitHead": "4384a946123dd1b41e65708e58928fc1af707c8d"
60
+ "gitHead": "ed70d58fe5ef87606f903ea92fcb684e83f5354f"
61
61
  }
@@ -20,7 +20,7 @@ import { MarkdownRenderer as CodeMarkdownRenderer, IMarkdownRendererOptions }
20
20
  from '@theia/monaco-editor-core/esm/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer';
21
21
  import { StandaloneServices } from '@theia/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices';
22
22
  import * as monaco from '@theia/monaco-editor-core';
23
- import { OpenerService, PreferenceService, WidgetOpenerOptions, open } from '@theia/core/lib/browser';
23
+ import { OpenerService, WidgetOpenerOptions, open } from '@theia/core/lib/browser';
24
24
  import { IOpenerService, OpenExternalOptions, OpenInternalOptions } from '@theia/monaco-editor-core/esm/vs/platform/opener/common/opener';
25
25
  import { HttpOpenHandlerOptions } from '@theia/core/lib/browser/http-open-handler';
26
26
  import { URI } from '@theia/core/lib/common/uri';
@@ -28,7 +28,7 @@ import { MarkdownRenderer, MarkdownRenderOptions, MarkdownRenderResult } from '@
28
28
  import { MarkedOptions, MarkdownRenderOptions as MonacoMarkdownRenderOptions } from '@theia/monaco-editor-core/esm/vs/base/browser/markdownRenderer';
29
29
  import { MarkdownString } from '@theia/core/lib/common/markdown-rendering';
30
30
  import { DisposableStore } from '@theia/monaco-editor-core/esm/vs/base/common/lifecycle';
31
- import { DisposableCollection, DisposableGroup } from '@theia/core';
31
+ import { DisposableCollection, DisposableGroup, PreferenceService } from '@theia/core';
32
32
 
33
33
  @injectable()
34
34
  export class MonacoMarkdownRenderer implements MarkdownRenderer {
@@ -21,7 +21,7 @@ import { ILanguageFeaturesService } from '@theia/monaco-editor-core/esm/vs/edito
21
21
  import { CodeActionKind, CodeActionSet, CodeActionTriggerSource } from '@theia/monaco-editor-core/esm/vs/editor/contrib/codeAction/common/types';
22
22
  import { applyCodeAction, ApplyCodeActionReason, getCodeActions } from '@theia/monaco-editor-core/esm/vs/editor/contrib/codeAction/browser/codeAction';
23
23
  import { HierarchicalKind } from '@theia/monaco-editor-core/esm/vs/base/common/hierarchicalKind';
24
- import { EditorPreferences } from '@theia/editor/lib/browser';
24
+ import { EditorPreferences } from '@theia/editor/lib/common/editor-preferences';
25
25
  import { ITextModel } from '@theia/monaco-editor-core/esm/vs/editor/common/model';
26
26
  import { CodeActionProvider, CodeActionTriggerType } from '@theia/monaco-editor-core/esm/vs/editor/common/languages';
27
27
  import { IProgress } from '@theia/monaco-editor-core/esm/vs/platform/progress/common/progress';
@@ -15,7 +15,7 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  import { Position, Range, TextDocumentSaveReason } from '@theia/core/shared/vscode-languageserver-protocol';
18
- import { TextEditorDocument, EncodingMode, FindMatchesOptions, FindMatch, EditorPreferences } from '@theia/editor/lib/browser';
18
+ import { TextEditorDocument, EncodingMode, FindMatchesOptions, FindMatch } from '@theia/editor/lib/browser';
19
19
  import { DisposableCollection, Disposable } from '@theia/core/lib/common/disposable';
20
20
  import { Emitter, Event } from '@theia/core/lib/common/event';
21
21
  import { CancellationTokenSource, CancellationToken } from '@theia/core/lib/common/cancellation';
@@ -31,10 +31,11 @@ import { StandaloneServices } from '@theia/monaco-editor-core/esm/vs/editor/stan
31
31
  import { ILanguageService } from '@theia/monaco-editor-core/esm/vs/editor/common/languages/language';
32
32
  import { IModelService } from '@theia/monaco-editor-core/esm/vs/editor/common/services/model';
33
33
  import { createTextBufferFactoryFromStream } from '@theia/monaco-editor-core/esm/vs/editor/common/model/textModel';
34
- import { editorGeneratedPreferenceProperties } from '@theia/editor/lib/browser/editor-generated-preference-schema';
34
+ import { editorGeneratedPreferenceProperties } from '@theia/editor/lib/common/editor-generated-preference-schema';
35
35
  import { MarkdownString } from '@theia/core/lib/common/markdown-rendering';
36
36
  import { BinaryBuffer } from '@theia/core/lib/common/buffer';
37
37
  import { Listener, ListenerList } from '@theia/core';
38
+ import { EditorPreferences } from '@theia/editor/lib/common/editor-preferences';
38
39
 
39
40
  export {
40
41
  TextDocumentSaveReason
@@ -627,6 +628,16 @@ export class MonacoEditorModel implements IResolvedTextEditorModel, TextEditorDo
627
628
  return BinaryBuffer.fromString(this.model.getValue());
628
629
  }
629
630
 
631
+ filters(): { [name: string]: string[] } {
632
+ const language = monaco.languages.getLanguages().find(lang => lang.id === this.languageId);
633
+ if (!language || !language.extensions) {
634
+ return {};
635
+ }
636
+ const name = language.aliases?.[0] || this.languageId;
637
+ const extensions = language.extensions.map(ext => ext.startsWith('.') ? ext.substring(1) : ext);
638
+ return { [name]: extensions };
639
+ }
640
+
630
641
  protected trace(loggable: Loggable): void {
631
642
  if (this.logger) {
632
643
  this.logger.debug((log: Log) =>
@@ -16,7 +16,7 @@
16
16
 
17
17
  /* eslint-disable @typescript-eslint/no-explicit-any */
18
18
  import URI from '@theia/core/lib/common/uri';
19
- import { EditorPreferenceChange, EditorPreferences, TextEditor, DiffNavigator } from '@theia/editor/lib/browser';
19
+ import { TextEditor, DiffNavigator } from '@theia/editor/lib/browser';
20
20
  import { DiffUris } from '@theia/core/lib/browser/diff-uris';
21
21
  import { inject, injectable, named, postConstruct } from '@theia/core/shared/inversify';
22
22
  import { DisposableCollection, deepClone, Disposable, CancellationToken } from '@theia/core/lib/common';
@@ -44,8 +44,9 @@ import { MarkdownString } from '@theia/core/lib/common/markdown-rendering';
44
44
  import { SimpleMonacoEditor } from './simple-monaco-editor';
45
45
  import { ICodeEditorWidgetOptions } from '@theia/monaco-editor-core/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget';
46
46
  import { timeoutReject } from '@theia/core/lib/common/promise-util';
47
- import { FileSystemPreferences } from '@theia/filesystem/lib/browser';
47
+ import { FileSystemPreferences } from '@theia/filesystem/lib/common';
48
48
  import { insertFinalNewline } from './monaco-utilities';
49
+ import { EditorPreferenceChange, EditorPreferences } from '@theia/editor/lib/common/editor-preferences';
49
50
 
50
51
  export const MonacoEditorFactory = Symbol('MonacoEditorFactory');
51
52
  export interface MonacoEditorFactory {
@@ -16,7 +16,7 @@
16
16
 
17
17
  import { injectable, inject, decorate, named } from '@theia/core/shared/inversify';
18
18
  import URI from '@theia/core/lib/common/uri';
19
- import { OpenerService, open, WidgetOpenMode, ApplicationShell, PreferenceService } from '@theia/core/lib/browser';
19
+ import { OpenerService, open, WidgetOpenMode, ApplicationShell } from '@theia/core/lib/browser';
20
20
  import { EditorWidget, EditorOpenerOptions, EditorManager, CustomEditorWidget } from '@theia/editor/lib/browser';
21
21
  import { MonacoEditor } from './monaco-editor';
22
22
  import { MonacoToProtocolConverter } from './monaco-to-protocol-converter';
@@ -27,7 +27,7 @@ import { StandaloneCodeEditor } from '@theia/monaco-editor-core/esm/vs/editor/st
27
27
  import { ICodeEditor } from '@theia/monaco-editor-core/esm/vs/editor/browser/editorBrowser';
28
28
  import { IContextKeyService } from '@theia/monaco-editor-core/esm/vs/platform/contextkey/common/contextkey';
29
29
  import { IThemeService } from '@theia/monaco-editor-core/esm/vs/platform/theme/common/themeService';
30
- import { ContributionProvider } from '@theia/core';
30
+ import { ContributionProvider, PreferenceService } from '@theia/core';
31
31
 
32
32
  decorate(injectable(), StandaloneCodeEditorService);
33
33
 
@@ -15,7 +15,7 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  import { injectable, inject } from '@theia/core/shared/inversify';
18
- import { PreferenceService, FrontendApplicationContribution, PreferenceLanguageOverrideService } from '@theia/core/lib/browser';
18
+ import { FrontendApplicationContribution } from '@theia/core/lib/browser';
19
19
  import { EditorManager } from '@theia/editor/lib/browser';
20
20
  import { MonacoQuickInputService } from './monaco-quick-input-service';
21
21
  import * as monaco from '@theia/monaco-editor-core';
@@ -23,6 +23,7 @@ import { FormattingConflicts, FormattingMode } from '@theia/monaco-editor-core/e
23
23
  import { DocumentFormattingEditProvider, DocumentRangeFormattingEditProvider } from '@theia/monaco-editor-core/esm/vs/editor/common/languages';
24
24
  import { ITextModel } from '@theia/monaco-editor-core/esm/vs/editor/common/model';
25
25
  import { nls } from '@theia/core/lib/common/nls';
26
+ import { PreferenceService, PreferenceLanguageOverrideService } from '@theia/core';
26
27
 
27
28
  type FormattingEditProvider = DocumentFormattingEditProvider | DocumentRangeFormattingEditProvider;
28
29
 
@@ -15,7 +15,7 @@
15
15
  // *****************************************************************************
16
16
 
17
17
  import { injectable, inject, postConstruct } from '@theia/core/shared/inversify';
18
- import { ColorTheme, CssStyleCollector, FrontendApplicationContribution, PreferenceSchemaProvider, QuickAccessRegistry, StylingParticipant } from '@theia/core/lib/browser';
18
+ import { ColorTheme, CssStyleCollector, FrontendApplicationContribution, QuickAccessRegistry, StylingParticipant } from '@theia/core/lib/browser';
19
19
  import { MonacoSnippetSuggestProvider } from './monaco-snippet-suggest-provider';
20
20
  import * as monaco from '@theia/monaco-editor-core';
21
21
  import { setSnippetSuggestSupport } from '@theia/monaco-editor-core/esm/vs/editor/contrib/suggest/browser/suggest';
@@ -24,8 +24,8 @@ import { MonacoTextModelService } from './monaco-text-model-service';
24
24
  import { MonacoThemingService } from './monaco-theming-service';
25
25
  import { isHighContrast } from '@theia/core/lib/common/theme';
26
26
  import { editorOptionsRegistry, IEditorOption } from '@theia/monaco-editor-core/esm/vs/editor/common/config/editorOptions';
27
- import { MAX_SAFE_INTEGER } from '@theia/core';
28
- import { editorGeneratedPreferenceProperties } from '@theia/editor/lib/browser/editor-generated-preference-schema';
27
+ import { MAX_SAFE_INTEGER, PreferenceSchemaService } from '@theia/core';
28
+ import { editorGeneratedPreferenceProperties } from '@theia/editor/lib/common/editor-generated-preference-schema';
29
29
  import { WorkspaceFileService } from '@theia/workspace/lib/common/workspace-file-service';
30
30
  import { SecondaryWindowHandler } from '@theia/core/lib/browser/secondary-window-handler';
31
31
  import { EditorWidget } from '@theia/editor/lib/browser';
@@ -51,8 +51,8 @@ export class MonacoFrontendApplicationContribution implements FrontendApplicatio
51
51
  @inject(MonacoSnippetSuggestProvider)
52
52
  protected readonly snippetSuggestProvider: MonacoSnippetSuggestProvider;
53
53
 
54
- @inject(PreferenceSchemaProvider)
55
- protected readonly preferenceSchema: PreferenceSchemaProvider;
54
+ @inject(PreferenceSchemaService)
55
+ protected readonly preferenceSchema: PreferenceSchemaService;
56
56
 
57
57
  @inject(QuickAccessRegistry)
58
58
  protected readonly quickAccessRegistry: QuickAccessRegistry;
@@ -16,13 +16,13 @@
16
16
 
17
17
  import '../../src/browser/style/index.css';
18
18
  import { ContainerModule, interfaces } from '@theia/core/shared/inversify';
19
- import { MenuContribution, CommandContribution, quickInputServicePath } from '@theia/core/lib/common';
20
19
  import {
21
- FrontendApplicationContribution, KeybindingContribution,
22
- PreferenceService, PreferenceSchemaProvider, createPreferenceProxy,
23
- PreferenceScope, PreferenceChange, OVERRIDE_PROPERTY_PATTERN, QuickInputService, StylingParticipant, WebSocketConnectionProvider,
24
- UndoRedoHandler,
25
- WidgetStatusBarContribution
20
+ MenuContribution, CommandContribution, quickInputServicePath, createPreferenceProxy,
21
+ OVERRIDE_PROPERTY_PATTERN, PreferenceChange, PreferenceScope, PreferenceService,
22
+ PreferenceSchemaService
23
+ } from '@theia/core/lib/common';
24
+ import {
25
+ FrontendApplicationContribution, KeybindingContribution, QuickInputService, StylingParticipant, WebSocketConnectionProvider, UndoRedoHandler, WidgetStatusBarContribution
26
26
  } from '@theia/core/lib/browser';
27
27
  import { TextEditorProvider, DiffNavigatorProvider, TextEditor } from '@theia/editor/lib/browser';
28
28
  import { MonacoEditorProvider, MonacoEditorFactory, SaveParticipant } from './monaco-editor-provider';
@@ -214,7 +214,7 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
214
214
  export const MonacoConfigurationService = Symbol('MonacoConfigurationService');
215
215
  export function createMonacoConfigurationService(container: interfaces.Container): IConfigurationService {
216
216
  const preferences = container.get<PreferenceService>(PreferenceService);
217
- const preferenceSchemaProvider = container.get<PreferenceSchemaProvider>(PreferenceSchemaProvider);
217
+ const preferenceSchemaService = container.get<PreferenceSchemaService>(PreferenceSchemaService);
218
218
  const service = new StandaloneConfigurationService(StandaloneServices.get(ILogService));
219
219
  const _configuration: Configuration = service['_configuration'];
220
220
 
@@ -224,7 +224,7 @@ export function createMonacoConfigurationService(container: interfaces.Container
224
224
  : undefined;
225
225
  const resourceUri: string | undefined = (overrides && 'resource' in overrides && !!overrides['resource']) ? overrides['resource'].toString() : undefined;
226
226
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
227
- const proxy = createPreferenceProxy<{ [key: string]: any }>(preferences, preferenceSchemaProvider.getCombinedSchema(), {
227
+ const proxy = createPreferenceProxy<{ [key: string]: any }>(preferences, preferenceSchemaService.getJSONSchema(PreferenceScope.Folder), {
228
228
  resourceUri, overrideIdentifier, style: 'both'
229
229
  });
230
230
  if (section) {
@@ -17,7 +17,7 @@
17
17
  import { inject, injectable, named, postConstruct } from '@theia/core/shared/inversify';
18
18
  import URI from '@theia/core/lib/common/uri';
19
19
  import { ResourceProvider, ReferenceCollection, Event, MaybePromise, Resource, ContributionProvider, OS, Emitter } from '@theia/core';
20
- import { EditorPreferences, EditorPreferenceChange } from '@theia/editor/lib/browser';
20
+ import { EditorPreferences, EditorPreferenceChange } from '@theia/editor/lib/common/editor-preferences';
21
21
  import { MonacoEditorModel } from './monaco-editor-model';
22
22
  import { IDisposable, IReference } from '@theia/monaco-editor-core/esm/vs/base/common/lifecycle';
23
23
  import { MonacoToProtocolConverter } from './monaco-to-protocol-converter';
@@ -20,8 +20,8 @@ import { URI as Uri } from '@theia/core/shared/vscode-uri';
20
20
  import { injectable, inject, postConstruct } from '@theia/core/shared/inversify';
21
21
  import URI from '@theia/core/lib/common/uri';
22
22
  import { Emitter } from '@theia/core/lib/common/event';
23
- import { FileSystemPreferences } from '@theia/filesystem/lib/browser';
24
- import { EditorManager, EditorPreferences } from '@theia/editor/lib/browser';
23
+ import { FileSystemPreferences } from '@theia/filesystem/lib/common';
24
+ import { EditorManager } from '@theia/editor/lib/browser';
25
25
  import { MonacoTextModelService } from './monaco-text-model-service';
26
26
  import { MonacoEditorModel, MonacoModelContentChangedEvent } from './monaco-editor-model';
27
27
  import { MonacoEditor } from './monaco-editor';
@@ -43,6 +43,7 @@ import { TextEdit } from '@theia/monaco-editor-core/esm/vs/editor/common/languag
43
43
  import { SnippetController2 } from '@theia/monaco-editor-core/esm/vs/editor/contrib/snippet/browser/snippetController2';
44
44
  import { isObject, MaybePromise, nls } from '@theia/core/lib/common';
45
45
  import { SaveableService } from '@theia/core/lib/browser';
46
+ import { EditorPreferences } from '@theia/editor/lib/common/editor-preferences';
46
47
 
47
48
  export namespace WorkspaceFileEdit {
48
49
  export function is(arg: Edit): arg is monaco.languages.IWorkspaceFileEdit {
@@ -23,7 +23,7 @@ import { LanguageGrammarDefinitionContribution, getEncodedLanguageId } from './t
23
23
  import { createTextmateTokenizer, TokenizerOption } from './textmate-tokenizer';
24
24
  import { TextmateRegistry } from './textmate-registry';
25
25
  import { MonacoThemeRegistry } from './monaco-theme-registry';
26
- import { EditorPreferences } from '@theia/editor/lib/browser/editor-preferences';
26
+ import { EditorPreferences } from '@theia/editor/lib/common/editor-preferences';
27
27
  import * as monaco from '@theia/monaco-editor-core';
28
28
  import { TokenizationRegistry } from '@theia/monaco-editor-core/esm/vs/editor/common/languages';
29
29
  import { IStandaloneThemeService } from '@theia/monaco-editor-core/esm/vs/editor/standalone/common/standaloneTheme';