@codingame/monaco-vscode-api 1.67.16 → 1.67.17
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/README.md +31 -1
- package/dist/api.js +69 -68
- package/dist/{async-f842d13c.js → async-c7fd4178.js} +1 -1
- package/dist/configuration.js +115 -6
- package/dist/messages.js +18 -17
- package/dist/{missing-services-8687ea11.js → missing-services-597951f0.js} +1 -1
- package/dist/modelEditor.js +23 -22
- package/dist/monaco.d.ts +2683 -0
- package/dist/monaco.js +149 -0
- package/dist/position-291dfe99.js +3 -0
- package/dist/{services-7a462d46.js → services-9299c4ca.js} +2 -21
- package/dist/services.js +2 -1
- package/dist/tslib.es6-16b40665.js +21 -0
- package/package.json +8 -1
package/dist/configuration.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Emitter, i as isReadableStream, p as peekStream, b as peekReadable, c as bufferToReadable, s as streamToBuffer, d as consumeStream, t as transform, e as isReadableBufferedStream, l as listenStream, f as bufferedStreamToBuffer, r as readableToBuffer, n as newWriteableBufferStream, g as newWriteableStream, u as unsupported } from './missing-services-
|
|
1
|
+
import { E as Emitter, i as isReadableStream, p as peekStream, b as peekReadable, c as bufferToReadable, s as streamToBuffer, d as consumeStream, t as transform, e as isReadableBufferedStream, l as listenStream, f as bufferedStreamToBuffer, r as readableToBuffer, n as newWriteableBufferStream, g as newWriteableStream, u as unsupported } from './missing-services-597951f0.js';
|
|
2
2
|
import { Disposable, toDisposable, dispose, DisposableStore } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
3
3
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
4
4
|
import { getConfigurationValue, addToValueTree, removeFromValueTree, toValuesTree, IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
@@ -11,18 +11,24 @@ import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
|
11
11
|
import { extUriBiasedIgnorePathCase, isAbsolutePath, extUri, extUriIgnorePathCase } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
12
12
|
import { Configuration, DefaultConfigurationModel, ConfigurationModel as ConfigurationModel$1, ConfigurationChangeEvent } from 'monaco-editor/esm/vs/platform/configuration/common/configurationModels.js';
|
|
13
13
|
import { RunOnceScheduler, Promises } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
14
|
-
import {
|
|
14
|
+
import { b as __decorate, c as __param } from './tslib.es6-16b40665.js';
|
|
15
|
+
import { z as ensureFileSystemProviderError, B as createFileSystemProviderError, F as FileSystemProviderErrorCode, D as FileChangesEvent, E as FileOperationError, G as hasOpenReadWriteCloseCapability, H as hasReadWriteCapability, J as hasFileReadStreamCapability, K as toFileSystemProviderErrorCode, t as FileType, u as FilePermission, L as etag, M as FileOperationEvent, O as toFileOperationResult, P as ETAG_DISABLED, Q as hasFileAtomicReadCapability, R as NotModifiedSinceFileOperationError, T as hasFileFolderCopyCapability, C as CancellationTokenSource } from './services-9299c4ca.js';
|
|
15
16
|
import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
16
17
|
import { canceled } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
17
18
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
18
|
-
import { R as ResourceQueue } from './async-
|
|
19
|
+
import { R as ResourceQueue } from './async-c7fd4178.js';
|
|
19
20
|
import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
|
|
20
21
|
import { TernarySearchTree } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
21
22
|
import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
|
|
22
23
|
import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
23
24
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
24
25
|
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
26
|
+
import { P as Position } from './position-291dfe99.js';
|
|
27
|
+
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
28
|
+
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
25
29
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
30
|
+
import { ITextResourceConfigurationService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
|
|
31
|
+
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
26
32
|
import 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
27
33
|
import 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
|
|
28
34
|
import 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
@@ -49,11 +55,9 @@ import 'monaco-editor/esm/vs/base/common/stopwatch.js';
|
|
|
49
55
|
import 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
50
56
|
import 'monaco-editor/esm/vs/editor/browser/services/bulkEditService.js';
|
|
51
57
|
import 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
52
|
-
import 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
53
58
|
import 'monaco-editor/esm/vs/editor/common/languages/languageConfigurationRegistry.js';
|
|
54
59
|
import 'monaco-editor/esm/vs/editor/common/services/editorWorker.js';
|
|
55
60
|
import 'monaco-editor/esm/vs/editor/common/services/languageFeatures.js';
|
|
56
|
-
import 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
57
61
|
import 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
58
62
|
import 'monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js';
|
|
59
63
|
import 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
|
|
@@ -2011,6 +2015,110 @@ let FileService = class FileService extends Disposable {
|
|
|
2011
2015
|
FileService = __decorate([
|
|
2012
2016
|
__param(0, ILogService)
|
|
2013
2017
|
], FileService);
|
|
2018
|
+
let TextResourceConfigurationService = class TextResourceConfigurationService extends Disposable {
|
|
2019
|
+
constructor(configurationService, modelService, languageService) {
|
|
2020
|
+
super();
|
|
2021
|
+
this.configurationService = configurationService;
|
|
2022
|
+
this.modelService = modelService;
|
|
2023
|
+
this.languageService = languageService;
|
|
2024
|
+
this._onDidChangeConfiguration = this._register( new Emitter());
|
|
2025
|
+
this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
|
|
2026
|
+
this._register(this.configurationService.onDidChangeConfiguration(e => this._onDidChangeConfiguration.fire(this.toResourceConfigurationChangeEvent(e))));
|
|
2027
|
+
}
|
|
2028
|
+
getValue(resource, arg2, arg3) {
|
|
2029
|
+
if (typeof arg3 === 'string') {
|
|
2030
|
+
return this._getValue(resource, Position.isIPosition(arg2) ? arg2 : null, arg3);
|
|
2031
|
+
}
|
|
2032
|
+
return this._getValue(resource, null, typeof arg2 === 'string' ? arg2 : undefined);
|
|
2033
|
+
}
|
|
2034
|
+
updateValue(resource, key, value, configurationTarget) {
|
|
2035
|
+
const language = this.getLanguage(resource, null);
|
|
2036
|
+
const configurationValue = this.configurationService.inspect(key, { resource, overrideIdentifier: language });
|
|
2037
|
+
if (configurationTarget === undefined) {
|
|
2038
|
+
configurationTarget = this.deriveConfigurationTarget(configurationValue, language);
|
|
2039
|
+
}
|
|
2040
|
+
switch (configurationTarget) {
|
|
2041
|
+
case 7 :
|
|
2042
|
+
return this._updateValue(key, value, configurationTarget, configurationValue.memory?.override, resource, language);
|
|
2043
|
+
case 5 :
|
|
2044
|
+
return this._updateValue(key, value, configurationTarget, configurationValue.workspaceFolder?.override, resource, language);
|
|
2045
|
+
case 4 :
|
|
2046
|
+
return this._updateValue(key, value, configurationTarget, configurationValue.workspace?.override, resource, language);
|
|
2047
|
+
case 3 :
|
|
2048
|
+
return this._updateValue(key, value, configurationTarget, configurationValue.userRemote?.override, resource, language);
|
|
2049
|
+
default:
|
|
2050
|
+
return this._updateValue(key, value, configurationTarget, configurationValue.userLocal?.override, resource, language);
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
_updateValue(key, value, configurationTarget, overriddenValue, resource, language) {
|
|
2054
|
+
if (language && overriddenValue !== undefined) {
|
|
2055
|
+
return this.configurationService.updateValue(key, value, { resource, overrideIdentifier: language }, configurationTarget);
|
|
2056
|
+
}
|
|
2057
|
+
else {
|
|
2058
|
+
return this.configurationService.updateValue(key, value, { resource }, configurationTarget);
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
deriveConfigurationTarget(configurationValue, language) {
|
|
2062
|
+
if (language) {
|
|
2063
|
+
if (configurationValue.memory?.override !== undefined) {
|
|
2064
|
+
return 7 ;
|
|
2065
|
+
}
|
|
2066
|
+
if (configurationValue.workspaceFolder?.override !== undefined) {
|
|
2067
|
+
return 5 ;
|
|
2068
|
+
}
|
|
2069
|
+
if (configurationValue.workspace?.override !== undefined) {
|
|
2070
|
+
return 4 ;
|
|
2071
|
+
}
|
|
2072
|
+
if (configurationValue.userRemote?.override !== undefined) {
|
|
2073
|
+
return 3 ;
|
|
2074
|
+
}
|
|
2075
|
+
if (configurationValue.userLocal?.override !== undefined) {
|
|
2076
|
+
return 2 ;
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
if (configurationValue.memory?.value !== undefined) {
|
|
2080
|
+
return 7 ;
|
|
2081
|
+
}
|
|
2082
|
+
if (configurationValue.workspaceFolder?.value !== undefined) {
|
|
2083
|
+
return 5 ;
|
|
2084
|
+
}
|
|
2085
|
+
if (configurationValue.workspace?.value !== undefined) {
|
|
2086
|
+
return 4 ;
|
|
2087
|
+
}
|
|
2088
|
+
if (configurationValue.userRemote?.value !== undefined) {
|
|
2089
|
+
return 3 ;
|
|
2090
|
+
}
|
|
2091
|
+
return 2 ;
|
|
2092
|
+
}
|
|
2093
|
+
_getValue(resource, position, section) {
|
|
2094
|
+
const language = resource ? this.getLanguage(resource, position) : undefined;
|
|
2095
|
+
if (typeof section === 'undefined') {
|
|
2096
|
+
return this.configurationService.getValue({ resource, overrideIdentifier: language });
|
|
2097
|
+
}
|
|
2098
|
+
return this.configurationService.getValue(section, { resource, overrideIdentifier: language });
|
|
2099
|
+
}
|
|
2100
|
+
getLanguage(resource, position) {
|
|
2101
|
+
const model = this.modelService.getModel(resource);
|
|
2102
|
+
if (model) {
|
|
2103
|
+
return position ? model.getLanguageIdAtPosition(position.lineNumber, position.column) : model.getLanguageId();
|
|
2104
|
+
}
|
|
2105
|
+
return this.languageService.guessLanguageIdByFilepathOrFirstLine(resource);
|
|
2106
|
+
}
|
|
2107
|
+
toResourceConfigurationChangeEvent(configurationChangeEvent) {
|
|
2108
|
+
return {
|
|
2109
|
+
affectedKeys: configurationChangeEvent.affectedKeys,
|
|
2110
|
+
affectsConfiguration: (resource, configuration) => {
|
|
2111
|
+
const overrideIdentifier = this.getLanguage(resource, null);
|
|
2112
|
+
return configurationChangeEvent.affectsConfiguration(configuration, { resource, overrideIdentifier });
|
|
2113
|
+
}
|
|
2114
|
+
};
|
|
2115
|
+
}
|
|
2116
|
+
};
|
|
2117
|
+
TextResourceConfigurationService = __decorate([
|
|
2118
|
+
__param(0, IConfigurationService),
|
|
2119
|
+
__param(1, IModelService),
|
|
2120
|
+
__param(2, ILanguageService)
|
|
2121
|
+
], TextResourceConfigurationService);
|
|
2014
2122
|
function createConfigurationFileSystemProvider(settingsResource, readConfiguration, onChange) {
|
|
2015
2123
|
const onDidFilesChange = new Emitter();
|
|
2016
2124
|
onChange(() => {
|
|
@@ -2063,7 +2171,8 @@ function getServiceOverride(readConfiguration, onChange, settingsResource = URI.
|
|
|
2063
2171
|
logService.error(error);
|
|
2064
2172
|
});
|
|
2065
2173
|
return {
|
|
2066
|
-
[IConfigurationService.toString()]: configurationService
|
|
2174
|
+
[IConfigurationService.toString()]: configurationService,
|
|
2175
|
+
[ITextResourceConfigurationService.toString()]: new SyncDescriptor(TextResourceConfigurationService)
|
|
2067
2176
|
};
|
|
2068
2177
|
}
|
|
2069
2178
|
export { getServiceOverride as default };
|
package/dist/messages.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as Emitter, I as ILifecycleService, u as unsupported } from './missing-services-
|
|
1
|
+
import { b as __decorate, c as __param } from './tslib.es6-16b40665.js';
|
|
2
|
+
import { E as Emitter, I as ILifecycleService, u as unsupported } from './missing-services-597951f0.js';
|
|
3
3
|
import { editorWidgetBackground, editorWidgetForeground, widgetShadow, contrastBorder, buttonForeground, buttonBackground, buttonSecondaryBackground, buttonSecondaryForeground, buttonSecondaryHoverBackground, buttonHoverBackground, buttonBorder, simpleCheckboxBorder, simpleCheckboxBackground, simpleCheckboxForeground, problemsErrorIconForeground, problemsWarningIconForeground, problemsInfoIconForeground, inputBackground, inputForeground, inputBorder, textLinkForeground, progressBarBackground, resolveColorValue, registerColor, editorErrorForeground, editorWarningForeground, editorInfoForeground, focusBorder } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
4
4
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
5
|
+
import { v as NotificationsFilter, e as IFileService, w as refineServiceDecorator, l as IEditorGroupsService, q as IHostService, x as NeverShowAgainScope, o as IProductService } from './services-9299c4ca.js';
|
|
5
6
|
import { Disposable, toDisposable, DisposableStore, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
6
7
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
7
8
|
import { NoOpNotification, Severity, INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
@@ -41,7 +42,7 @@ import { DropdownMenuActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui
|
|
|
41
42
|
import { a as assertAllDefined } from './types-371cc315.js';
|
|
42
43
|
import { assertIsDefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
43
44
|
import { ILayoutService } from 'monaco-editor/esm/vs/platform/layout/browser/layoutService.js';
|
|
44
|
-
import { I as IntervalCounter } from './async-
|
|
45
|
+
import { I as IntervalCounter } from './async-c7fd4178.js';
|
|
45
46
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
46
47
|
import { Widget } from 'monaco-editor/esm/vs/base/browser/ui/widget.js';
|
|
47
48
|
import { isMacintosh, isWindows, isLinux } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
@@ -54,13 +55,25 @@ import { DeferredPromise } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
|
54
55
|
import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
55
56
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
56
57
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
57
|
-
import 'monaco-editor/esm/vs/
|
|
58
|
+
import 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
59
|
+
import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
|
|
60
|
+
import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
|
|
61
|
+
import 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
|
|
62
|
+
import 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
63
|
+
import 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
64
|
+
import 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
65
|
+
import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
|
|
66
|
+
import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
|
|
67
|
+
import 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
68
|
+
import 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
58
69
|
import 'monaco-editor/esm/vs/base/common/network.js';
|
|
70
|
+
import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
|
|
71
|
+
import 'monaco-editor/esm/vs/base/common/strings.js';
|
|
72
|
+
import 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
59
73
|
import 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
60
74
|
import 'monaco-editor/esm/vs/base/common/path.js';
|
|
61
75
|
import 'monaco-editor/esm/vs/base/common/linkedList.js';
|
|
62
76
|
import 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
63
|
-
import 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
64
77
|
import 'monaco-editor/esm/vs/base/common/map.js';
|
|
65
78
|
import 'monaco-editor/esm/vs/base/common/stopwatch.js';
|
|
66
79
|
import 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
@@ -71,18 +84,6 @@ import 'monaco-editor/esm/vs/editor/common/services/languageFeatures.js';
|
|
|
71
84
|
import 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
72
85
|
import 'monaco-editor/esm/vs/platform/markers/common/markers.js';
|
|
73
86
|
import 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
74
|
-
import 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
75
|
-
import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
|
|
76
|
-
import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
|
|
77
|
-
import 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
|
|
78
|
-
import 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
79
|
-
import 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
80
|
-
import 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
81
|
-
import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
|
|
82
|
-
import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
|
|
83
|
-
import 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
84
|
-
import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
|
|
85
|
-
import 'monaco-editor/esm/vs/base/common/strings.js';
|
|
86
87
|
function isErrorWithActions(obj) {
|
|
87
88
|
const candidate = obj;
|
|
88
89
|
return candidate instanceof Error && Array.isArray(candidate.actions);
|
|
@@ -14,7 +14,7 @@ import { firstOrDefault } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
|
14
14
|
import { PLAINTEXT_LANGUAGE_ID } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
|
|
15
15
|
import { TokenizationRegistry } from 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
16
16
|
import { NoOpNotification } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
17
|
-
import { N as NoOpNotification$1,
|
|
17
|
+
import { N as NoOpNotification$1, k as IEditorService, n as IPaneCompositePartService, g as IUriIdentityService, b as ITextFileService, e as IFileService, l as IEditorGroupsService, f as IWorkbenchEnvironmentService, h as IWorkingCopyFileService, i as IPathService, I as IProgressService, s as Services, o as IProductService, p as ILanguageStatusService, q as IHostService } from './services-9299c4ca.js';
|
|
18
18
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
19
19
|
import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
20
20
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
package/dist/modelEditor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __decorate,
|
|
2
|
-
import { E as Emitter, a as ILanguageDetectionService, u as unsupported } from './missing-services-
|
|
1
|
+
import { b as __decorate, c as __param } from './tslib.es6-16b40665.js';
|
|
2
|
+
import { E as Emitter, a as ILanguageDetectionService, u as unsupported } from './missing-services-597951f0.js';
|
|
3
3
|
import { Disposable, MutableDisposable, dispose, toDisposable, ImmortalReference } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
4
4
|
import { w as withUndefinedAsNull } from './types-371cc315.js';
|
|
5
5
|
import { ThrottledDelayer } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
@@ -8,6 +8,7 @@ import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
|
8
8
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
9
9
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
10
10
|
import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
|
|
11
|
+
import { e as IFileService, g as IUriIdentityService, b as ITextFileService, S as SIDE_GROUP, A as ACTIVE_GROUP, k as IEditorService, y as isPreferredGroup } from './services-9299c4ca.js';
|
|
11
12
|
import { MultiModelEditStackElement } from 'monaco-editor/esm/vs/editor/common/model/editStack.js';
|
|
12
13
|
import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
13
14
|
import { IUndoRedoService } from 'monaco-editor/esm/vs/platform/undoRedo/common/undoRedo.js';
|
|
@@ -25,19 +26,36 @@ import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/comm
|
|
|
25
26
|
import { ICodeEditorService } from 'monaco-editor/esm/vs/editor/browser/services/codeEditorService.js';
|
|
26
27
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
27
28
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
29
|
+
import 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
30
|
+
import 'monaco-editor/esm/vs/base/common/errors.js';
|
|
31
|
+
import 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
|
|
32
|
+
import 'monaco-editor/esm/vs/base/common/objects.js';
|
|
33
|
+
import 'monaco-editor/esm/vs/base/common/types.js';
|
|
34
|
+
import 'monaco-editor/esm/vs/base/common/color.js';
|
|
35
|
+
import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
|
|
36
|
+
import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
|
|
37
|
+
import 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
38
|
+
import 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
39
|
+
import 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
40
|
+
import 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
41
|
+
import 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
42
|
+
import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
|
|
43
|
+
import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
|
|
44
|
+
import 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
45
|
+
import 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
46
|
+
import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
|
|
47
|
+
import 'monaco-editor/esm/vs/base/common/strings.js';
|
|
48
|
+
import 'monaco-editor/esm/vs/base/browser/event.js';
|
|
28
49
|
import 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
29
50
|
import 'monaco-editor/esm/vs/base/common/platform.js';
|
|
30
51
|
import 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
31
52
|
import 'monaco-editor/esm/vs/base/common/path.js';
|
|
32
53
|
import 'monaco-editor/esm/vs/base/common/linkedList.js';
|
|
33
54
|
import 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
34
|
-
import 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
35
55
|
import 'monaco-editor/esm/vs/base/common/map.js';
|
|
36
|
-
import 'monaco-editor/esm/vs/base/common/errors.js';
|
|
37
56
|
import 'monaco-editor/esm/vs/base/common/stopwatch.js';
|
|
38
57
|
import 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
39
58
|
import 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
40
|
-
import 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
|
41
59
|
import 'monaco-editor/esm/vs/editor/browser/services/bulkEditService.js';
|
|
42
60
|
import 'monaco-editor/esm/vs/editor/common/languages/languageConfigurationRegistry.js';
|
|
43
61
|
import 'monaco-editor/esm/vs/editor/common/services/editorWorker.js';
|
|
@@ -49,23 +67,6 @@ import 'monaco-editor/esm/vs/platform/opener/common/opener.js';
|
|
|
49
67
|
import 'monaco-editor/esm/vs/platform/quickinput/common/quickInput.js';
|
|
50
68
|
import 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
51
69
|
import 'monaco-editor/esm/vs/base/common/severity.js';
|
|
52
|
-
import 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
53
|
-
import 'monaco-editor/esm/vs/base/browser/ui/progressbar/progressbar.js';
|
|
54
|
-
import 'monaco-editor/esm/vs/base/common/objects.js';
|
|
55
|
-
import 'monaco-editor/esm/vs/base/common/types.js';
|
|
56
|
-
import 'monaco-editor/esm/vs/base/common/color.js';
|
|
57
|
-
import 'monaco-editor/esm/vs/editor/common/services/languageService.js';
|
|
58
|
-
import 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
|
|
59
|
-
import 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
60
|
-
import 'monaco-editor/esm/vs/editor/common/languages.js';
|
|
61
|
-
import 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
62
|
-
import 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
63
|
-
import 'monaco-editor/esm/vs/base/parts/quickinput/browser/quickInput.js';
|
|
64
|
-
import 'monaco-editor/esm/vs/platform/instantiation/common/extensions.js';
|
|
65
|
-
import 'monaco-editor/esm/vs/platform/label/common/label.js';
|
|
66
|
-
import 'monaco-editor/esm/vs/editor/common/languageFeatureRegistry.js';
|
|
67
|
-
import 'monaco-editor/esm/vs/base/common/strings.js';
|
|
68
|
-
import 'monaco-editor/esm/vs/base/browser/event.js';
|
|
69
70
|
class ReferenceCollection {
|
|
70
71
|
constructor() {
|
|
71
72
|
this.references = new Map();
|