@codingame/monaco-vscode-api 1.69.6 → 1.69.9
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/dist/api.js +2 -1
- package/dist/configuration.js +5 -4
- package/dist/contextkey.js +128 -1
- package/dist/dialogs.js +3 -2
- package/dist/extHost.js +15 -14
- package/dist/files.js +4 -3
- package/dist/keybindings.js +4 -3
- package/dist/languageConfiguration.js +3 -2
- package/dist/languageService.js +2 -2
- package/dist/languages.js +2 -1
- package/dist/layout.js +3 -2
- package/dist/messages.js +2 -0
- package/dist/missing-services.js +225 -5554
- package/dist/modelEditor.js +4 -3
- package/dist/monaco.js +1 -0
- package/dist/notifications.js +5 -4
- package/dist/polyfill.js +5349 -0
- package/dist/services.js +2 -2
- package/dist/services2.js +2 -128
- package/dist/snippets.js +5 -4
- package/dist/textmate.js +4 -3
- package/dist/theme.js +7 -6
- package/dist/tokenClassification.js +2 -1
- package/dist/tokenClassificationRegistry.js +1 -1
- package/dist/tools.js +2 -1
- package/dist/workspaceContext.js +1 -0
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { E as Emitter
|
|
1
|
+
import { E as Emitter } from './polyfill.js';
|
|
2
2
|
import { B as Breakpoint$1, C as CallHierarchyIncomingCall$1, a as CallHierarchyItem$1, b as CallHierarchyOutgoingCall$1, c as CodeAction$1, d as CodeActionKind$1, e as CodeActionTriggerKind$1, f as CodeLens$1, g as Color$1, h as ColorInformation$1, i as ColorPresentation$1, j as CommentMode$1, k as CommentThreadCollapsibleState$1, l as CompletionItem$1, m as CompletionItemKind$1, n as CompletionItemTag$1, o as CompletionList$1, p as CompletionTriggerKind$1, q as ConfigurationTarget$1, r as CustomExecution$1, D as DebugAdapterExecutable$1, s as DebugAdapterInlineImplementation$1, t as DebugAdapterNamedPipeServer$1, u as DebugAdapterServer$1, v as DebugConsoleMode$1, w as DecorationRangeBehavior$1, x as Diagnostic$1, y as DiagnosticRelatedInformation$1, z as DiagnosticSeverity$1, A as DiagnosticTag$1, E as Disposable$1, F as DocumentHighlight$1, G as DocumentHighlightKind$1, H as DocumentLink$1, I as DocumentSymbol$1, J as EndOfLine$1, K as EnvironmentVariableMutatorType$1, L as EvaluatableExpression$1, M as InlineValueText$1, N as InlineValueVariableLookup$1, O as InlineValueEvaluatableExpression$1, P as ExtensionKind$1, Q as ExtensionMode$1, R as FileChangeType$1, S as FileDecoration$1, T as FileSystemError$1, U as FoldingRange$1, V as FoldingRangeKind$1, W as FunctionBreakpoint$1, X as Hover$1, Y as Location$1, Z as MarkdownString$1, _ as ParameterInformation$1, $ as Position$1, a0 as ProcessExecution$1, a1 as ProgressLocation$1, a2 as QuickInputButtons$1, a3 as Range$1, a4 as RelativePattern$1, a5 as Selection$2, a6 as SelectionRange$1, a7 as SemanticTokens$1, a8 as SemanticTokensBuilder$1, a9 as SemanticTokensEdit$1, aa as SemanticTokensEdits$1, ab as SemanticTokensLegend$1, ac as ShellExecution$1, ad as ShellQuoting$1, ae as SignatureHelp$1, af as SignatureHelpTriggerKind$1, ag as SignatureInformation$1, ah as SnippetString$1, ai as SourceBreakpoint$1, aj as StatusBarAlignment$1, ak as SymbolInformation$1, al as SymbolKind$1, am as SymbolTag$1, an as Task$1, ao as TaskGroup$1, ap as TaskPanelKind$1, aq as TaskRevealKind$1, ar as TaskScope$1, as as TerminalLink$1, at as TerminalLocation$1, au as TerminalProfile$1, av as TextDocumentSaveReason$1, aw as TextEdit$1, ax as TextEditorLineNumbersStyle$1, ay as TextEditorRevealType$1, az as TextEditorSelectionChangeKind$1, aA as TextDocumentChangeReason$1, aB as ThemeColor$1, aC as ThemeIcon$1, aD as TreeItem$1, aE as TreeItemCollapsibleState$1, aF as TypeHierarchyItem$1, aG as UIKind$1, aH as ViewColumn$1, aI as WorkspaceEdit$1, aJ as InlayHint$1, aK as InlayHintLabelPart$1, aL as InlayHintKind$1, aM as NotebookRange$1, aN as NotebookCellKind$1, aO as NotebookCellData$1, aP as NotebookData$1, aQ as NotebookCellStatusBarAlignment$1, aR as NotebookCellOutput$1, aS as NotebookCellOutputItem$1, aT as NotebookCellStatusBarItem$1, aU as NotebookControllerAffinity$1, aV as LinkedEditingRanges$1, aW as TestRunRequest$1, aX as TestMessage$1, aY as TestTag$1, aZ as TestRunProfileKind$1, a_ as LanguageStatusSeverity$1, a$ as QuickPickItemKind$1, b0 as TextDiffTabInput, b1 as CustomEditorTabInput, b2 as NotebookEditorTabInput, b3 as NotebookDiffEditorTabInput, b4 as WebviewEditorTabInput, b5 as TerminalEditorTabInput, b6 as InputBoxValidationSeverity$1, b7 as InlineSuggestionList, b8 as InlineCompletionTriggerKind$1, b9 as InlineSuggestion, ba as DocumentDropEdit$1, bb as NotebookEditorRevealType$1, bc as getExtHostServices, bd as DEFAULT_EXTENSION, be as LanguageSelector } from './extHost.js';
|
|
3
3
|
import { C as CancellationTokenSource$1, F as FileType$1, a as FilePermission$1, S as Services } from './services2.js';
|
|
4
4
|
import { score } from 'monaco-editor/esm/vs/editor/common/languageSelector.js';
|
|
5
|
+
import { u as unsupported$1 } from './missing-services.js';
|
|
5
6
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
6
7
|
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
7
8
|
import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
|
package/dist/configuration.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
2
|
-
import {
|
|
2
|
+
import { E as Emitter, U as UserSettings } from './polyfill.js';
|
|
3
|
+
import { e as IUserDataProfilesService, f as IPolicyService, N as NullPolicyService } from './missing-services.js';
|
|
3
4
|
import { b as isEmptyObject } from './types.js';
|
|
4
5
|
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
6
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
6
|
-
import { Extensions, machineOverridableSettings, windowSettings, resourceSettings, allSettings, OVERRIDE_PROPERTY_PATTERN, resourceLanguageSettingsSchemaId,
|
|
7
|
-
import {
|
|
7
|
+
import { Extensions, machineOverridableSettings, windowSettings, resourceSettings, allSettings, OVERRIDE_PROPERTY_PATTERN, resourceLanguageSettingsSchemaId, OVERRIDE_PROPERTY_REGEX, overrideIdentifiersFromKey, applicationSettings, machineSettings } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
8
|
+
import { Configuration, ConfigurationModel, ConfigurationChangeEvent } from 'monaco-editor/esm/vs/platform/configuration/common/configurationModels.js';
|
|
8
9
|
import { IConfigurationService, addToValueTree, toValuesTree } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
9
10
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
10
11
|
import { coalesce } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
@@ -18,7 +19,7 @@ import { bf as Position$2, bg as configurationDefaultsSchemaId } from './extHost
|
|
|
18
19
|
export { bh as ConfigurationScope } from './extHost.js';
|
|
19
20
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
20
21
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
21
|
-
import {
|
|
22
|
+
import { i as IFileService, j as IWorkbenchEnvironmentService } from './services2.js';
|
|
22
23
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
23
24
|
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
24
25
|
import { IWorkspaceTrustManagementService } from 'monaco-editor/esm/vs/platform/workspace/common/workspaceTrust.js';
|
package/dist/contextkey.js
CHANGED
|
@@ -1,4 +1,131 @@
|
|
|
1
|
+
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
1
2
|
import { isMacintosh, isLinux, isWindows, isWeb, isEdge, isFirefox, isChrome, isSafari } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
3
|
+
function sortedDiff(before, after, compare) {
|
|
4
|
+
const result = [];
|
|
5
|
+
function pushSplice(start, deleteCount, toInsert) {
|
|
6
|
+
if (deleteCount === 0 && toInsert.length === 0) {
|
|
7
|
+
return;
|
|
8
|
+
}
|
|
9
|
+
const latest = result[result.length - 1];
|
|
10
|
+
if (latest && latest.start + latest.deleteCount === start) {
|
|
11
|
+
latest.deleteCount += deleteCount;
|
|
12
|
+
latest.toInsert.push(...toInsert);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
result.push({ start, deleteCount, toInsert });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
let beforeIdx = 0;
|
|
19
|
+
let afterIdx = 0;
|
|
20
|
+
while (true) {
|
|
21
|
+
if (beforeIdx === before.length) {
|
|
22
|
+
pushSplice(beforeIdx, 0, after.slice(afterIdx));
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
if (afterIdx === after.length) {
|
|
26
|
+
pushSplice(beforeIdx, before.length - beforeIdx, []);
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
const beforeElement = before[beforeIdx];
|
|
30
|
+
const afterElement = after[afterIdx];
|
|
31
|
+
const n = compare(beforeElement, afterElement);
|
|
32
|
+
if (n === 0) {
|
|
33
|
+
beforeIdx += 1;
|
|
34
|
+
afterIdx += 1;
|
|
35
|
+
}
|
|
36
|
+
else if (n < 0) {
|
|
37
|
+
pushSplice(beforeIdx, 1, []);
|
|
38
|
+
beforeIdx += 1;
|
|
39
|
+
}
|
|
40
|
+
else if (n > 0) {
|
|
41
|
+
pushSplice(beforeIdx, 0, [afterElement]);
|
|
42
|
+
afterIdx += 1;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
function delta(before, after, compare) {
|
|
48
|
+
const splices = sortedDiff(before, after, compare);
|
|
49
|
+
const removed = [];
|
|
50
|
+
const added = [];
|
|
51
|
+
for (const splice of splices) {
|
|
52
|
+
removed.push(...before.slice(splice.start, splice.start + splice.deleteCount));
|
|
53
|
+
added.push(...splice.toInsert);
|
|
54
|
+
}
|
|
55
|
+
return { removed, added };
|
|
56
|
+
}
|
|
57
|
+
function coalesceInPlace(array) {
|
|
58
|
+
let to = 0;
|
|
59
|
+
for (let i = 0; i < array.length; i++) {
|
|
60
|
+
if (!!array[i]) {
|
|
61
|
+
array[to] = array[i];
|
|
62
|
+
to += 1;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
array.length = to;
|
|
66
|
+
}
|
|
67
|
+
function flatten(arr) {
|
|
68
|
+
return [].concat(...arr);
|
|
69
|
+
}
|
|
70
|
+
function index(array, indexer, mapper) {
|
|
71
|
+
return array.reduce((r, t) => {
|
|
72
|
+
r[indexer(t)] = mapper ? mapper(t) : t;
|
|
73
|
+
return r;
|
|
74
|
+
}, Object.create(null));
|
|
75
|
+
}
|
|
76
|
+
function shuffle(array, _seed) {
|
|
77
|
+
let rand;
|
|
78
|
+
if (typeof _seed === 'number') {
|
|
79
|
+
let seed = _seed;
|
|
80
|
+
rand = () => {
|
|
81
|
+
const x = Math.sin(seed++) * 179426549;
|
|
82
|
+
return x - Math.floor(x);
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
rand = Math.random;
|
|
87
|
+
}
|
|
88
|
+
for (let i = array.length - 1; i > 0; i -= 1) {
|
|
89
|
+
const j = Math.floor(rand() * (i + 1));
|
|
90
|
+
const temp = array[i];
|
|
91
|
+
array[i] = array[j];
|
|
92
|
+
array[j] = temp;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function mapArrayOrNot(items, fn) {
|
|
96
|
+
return Array.isArray(items) ?
|
|
97
|
+
items.map(fn) :
|
|
98
|
+
fn(items);
|
|
99
|
+
}
|
|
100
|
+
var NeverShowAgainScope;
|
|
101
|
+
( (function(NeverShowAgainScope) {
|
|
102
|
+
NeverShowAgainScope[NeverShowAgainScope["WORKSPACE"] = 0] = "WORKSPACE";
|
|
103
|
+
NeverShowAgainScope[NeverShowAgainScope["PROFILE"] = 1] = "PROFILE";
|
|
104
|
+
NeverShowAgainScope[NeverShowAgainScope["APPLICATION"] = 2] = "APPLICATION";
|
|
105
|
+
})(NeverShowAgainScope || (NeverShowAgainScope = {})));
|
|
106
|
+
var NotificationsFilter;
|
|
107
|
+
( (function(NotificationsFilter) {
|
|
108
|
+
NotificationsFilter[NotificationsFilter["OFF"] = 0] = "OFF";
|
|
109
|
+
NotificationsFilter[NotificationsFilter["SILENT"] = 1] = "SILENT";
|
|
110
|
+
NotificationsFilter[NotificationsFilter["ERROR"] = 2] = "ERROR";
|
|
111
|
+
})(NotificationsFilter || (NotificationsFilter = {})));
|
|
112
|
+
class NoOpNotification {
|
|
113
|
+
constructor() {
|
|
114
|
+
this.progress = ( new NoOpProgress());
|
|
115
|
+
this.onDidClose = Event.None;
|
|
116
|
+
this.onDidChangeVisibility = Event.None;
|
|
117
|
+
}
|
|
118
|
+
updateSeverity(severity) { }
|
|
119
|
+
updateMessage(message) { }
|
|
120
|
+
updateActions(actions) { }
|
|
121
|
+
close() { }
|
|
122
|
+
}
|
|
123
|
+
class NoOpProgress {
|
|
124
|
+
infinite() { }
|
|
125
|
+
done() { }
|
|
126
|
+
total(value) { }
|
|
127
|
+
worked(value) { }
|
|
128
|
+
}
|
|
2
129
|
function __decorate(decorators, target, key, desc) {
|
|
3
130
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
131
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -384,4 +511,4 @@ function cmp2(key1, value1, key2, value2) {
|
|
|
384
511
|
}
|
|
385
512
|
return 0;
|
|
386
513
|
}
|
|
387
|
-
export { ContextKeyExprType as C, RawContextKey as R, __decorate as _, __param as a, __classPrivateFieldSet as b, __classPrivateFieldGet as c };
|
|
514
|
+
export { ContextKeyExprType as C, NoOpNotification as N, RawContextKey as R, __decorate as _, __param as a, __classPrivateFieldSet as b, __classPrivateFieldGet as c, coalesceInPlace as d, delta as e, NotificationsFilter as f, NeverShowAgainScope as g, flatten as h, index as i, mapArrayOrNot as m, shuffle as s };
|
package/dist/dialogs.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { E as Emitter } from './
|
|
1
|
+
import { E as Emitter } from './polyfill.js';
|
|
2
|
+
import './missing-services.js';
|
|
2
3
|
import { g as getServiceOverride$1, D as DialogHandlerContribution } from './layout.js';
|
|
3
4
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
4
5
|
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
6
|
import { DeferredPromise } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
6
|
-
import {
|
|
7
|
+
import { j as IWorkbenchEnvironmentService } from './services2.js';
|
|
7
8
|
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
8
9
|
import { o as onServicesInitialized } from './tools.js';
|
|
9
10
|
import { IDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
|
package/dist/extHost.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { b as __classPrivateFieldSet, c as __classPrivateFieldGet,
|
|
2
|
-
import {
|
|
1
|
+
import { _ as __decorate, a as __param, b as __classPrivateFieldSet, c as __classPrivateFieldGet, d as coalesceInPlace, m as mapArrayOrNot, e as delta$1 } from './contextkey.js';
|
|
2
|
+
import { C as CancellationTokenSource, I as IEditorService, b as IEditorGroupsService, c as IProductService, m as markAsFileSystemProviderError, d as FileSystemProviderErrorCode, A as ACTIVE_GROUP, e as SIDE_GROUP, f as IUriIdentityService, g as IPaneCompositePartService, h as ITextFileService, i as IFileService, j as IWorkbenchEnvironmentService, k as IWorkingCopyFileService, l as IPathService, n as ILanguageStatusService, o as IHostService, S as Services } from './services2.js';
|
|
3
3
|
import { i as isStringArray, w as withUndefinedAsNull } from './types.js';
|
|
4
4
|
import { illegalArgument, canceled, transformErrorForSerialization, CancellationError, onUnexpectedError, onUnexpectedExternalError, isCancellationError } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
5
5
|
import { URI, uriToFsPath } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
6
|
-
import { equals
|
|
6
|
+
import { equals as equals$1, coalesce, isNonEmptyArray, isFalsyOrEmpty, asArray, distinct } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
7
7
|
import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
|
|
8
|
-
import { isString, isArray, validateConstraint, assertIsDefined,
|
|
9
|
-
import {
|
|
8
|
+
import { isString, isArray, isNumber, validateConstraint, assertIsDefined, isObject, withNullAsUndefined, isUndefinedOrNull, isUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
9
|
+
import { compare, equalsIgnoreCase, isFalsyOrWhitespace, nextCharLength, splitLines, regExpFlags, regExpLeadsToEndlessLoop } from 'monaco-editor/esm/vs/base/common/strings.js';
|
|
10
10
|
import { Mimes } from 'monaco-editor/esm/vs/base/common/mime.js';
|
|
11
11
|
import { ResourceMap, TernarySearchTree } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
12
12
|
import { MarkdownString as MarkdownString$2, parseHrefAndDimensions, isMarkdownString } from 'monaco-editor/esm/vs/base/common/htmlContent.js';
|
|
13
13
|
import { marked as marked$1 } from 'monaco-editor/esm/vs/base/common/marked/marked.js';
|
|
14
14
|
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
15
|
-
import { E as Emitter, d as disposed,
|
|
16
|
-
import {
|
|
15
|
+
import { E as Emitter, d as disposed, r as readonly, N as NotImplementedError, R as ResourceSet } from './polyfill.js';
|
|
16
|
+
import { MarkerSeverity, IMarkerService } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
|
|
17
17
|
import { revive, parse } from 'monaco-editor/esm/vs/base/common/marshalling.js';
|
|
18
|
-
import { equals
|
|
18
|
+
import { equals, cloneAndChange, deepFreeze, mixin, deepClone } from 'monaco-editor/esm/vs/base/common/objects.js';
|
|
19
19
|
import { once } from 'monaco-editor/esm/vs/base/common/functional.js';
|
|
20
20
|
import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
21
21
|
import { createDecorator, IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
22
22
|
import { toErrorMessage } from 'monaco-editor/esm/vs/base/common/errorMessage.js';
|
|
23
23
|
import { ILogService, LogLevel as LogLevel$1, LogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
24
24
|
import { Disposable as Disposable$1, DisposableStore, dispose, toDisposable, combinedDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
25
|
+
import { I as IExtensionService, u as unsupported, B as Barrier, c as checkProposedApiEnabled, i as isProposedApiEnabled, r as raceCancellationError } from './missing-services.js';
|
|
25
26
|
import { ICommandService, CommandsRegistry } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
26
27
|
import { Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
27
28
|
import { basename as basename$1, dirname as dirname$1, basenameOrAuthority, relativePath, ExtUri as ExtUri$1, extUri as extUri$1 } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
@@ -1656,8 +1657,8 @@ let Diagnostic$1 = class Diagnostic {
|
|
|
1656
1657
|
&& a.severity === b.severity
|
|
1657
1658
|
&& a.source === b.source
|
|
1658
1659
|
&& a.range.isEqual(b.range)
|
|
1659
|
-
&& equals(a.tags, b.tags)
|
|
1660
|
-
&& equals(a.relatedInformation, b.relatedInformation, DiagnosticRelatedInformation$1.isEqual);
|
|
1660
|
+
&& equals$1(a.tags, b.tags)
|
|
1661
|
+
&& equals$1(a.relatedInformation, b.relatedInformation, DiagnosticRelatedInformation$1.isEqual);
|
|
1661
1662
|
}
|
|
1662
1663
|
};
|
|
1663
1664
|
Diagnostic$1 = ( (__decorate([
|
|
@@ -6978,7 +6979,7 @@ class ExtHostDocumentData extends MirrorTextModel {
|
|
|
6978
6979
|
this._isDirty = false;
|
|
6979
6980
|
}
|
|
6980
6981
|
equalLines(lines) {
|
|
6981
|
-
return equals(this._lines, lines);
|
|
6982
|
+
return equals$1(this._lines, lines);
|
|
6982
6983
|
}
|
|
6983
6984
|
get document() {
|
|
6984
6985
|
if (!this._document) {
|
|
@@ -9898,10 +9899,10 @@ class MainThreadTextEditorProperties {
|
|
|
9898
9899
|
return null;
|
|
9899
9900
|
}
|
|
9900
9901
|
static _selectionsEqual(a, b) {
|
|
9901
|
-
return equals(a, b, (aValue, bValue) => aValue.equalsSelection(bValue));
|
|
9902
|
+
return equals$1(a, b, (aValue, bValue) => aValue.equalsSelection(bValue));
|
|
9902
9903
|
}
|
|
9903
9904
|
static _rangesEqual(a, b) {
|
|
9904
|
-
return equals(a, b, (aValue, bValue) => aValue.equalsRange(bValue));
|
|
9905
|
+
return equals$1(a, b, (aValue, bValue) => aValue.equalsRange(bValue));
|
|
9905
9906
|
}
|
|
9906
9907
|
static _optionsEqual(a, b) {
|
|
9907
9908
|
if (a && !b || !a && b) {
|
|
@@ -10261,7 +10262,7 @@ let MainThreadTextEditors = class MainThreadTextEditors {
|
|
|
10261
10262
|
}
|
|
10262
10263
|
_updateActiveAndVisibleTextEditors() {
|
|
10263
10264
|
const editorPositionData = this._getTextEditorPositionData();
|
|
10264
|
-
if (!equals
|
|
10265
|
+
if (!equals(this._editorPositionData, editorPositionData)) {
|
|
10265
10266
|
this._editorPositionData = editorPositionData;
|
|
10266
10267
|
this._proxy.$acceptEditorPositionData(this._editorPositionData);
|
|
10267
10268
|
}
|
package/dist/files.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { E as Emitter, a as isReadableStream, p as peekStream, b as peekReadable, c as bufferToReadable, s as streamToBuffer, e as consumeStream, t as transform, f as isReadableBufferedStream, l as listenStream, g as bufferedStreamToBuffer, h as readableToBuffer, n as newWriteableBufferStream, j as newWriteableStream } from './polyfill.js';
|
|
3
|
+
import { g as format2, h as getServiceMachineId, R as ResourceQueue, u as unsupported } from './missing-services.js';
|
|
4
|
+
import { i as IFileService, c as IProductService, S as Services, t as FileSystemProviderError, d as FileSystemProviderErrorCode, u as FileChangesEvent, v as FileOperationError, w as hasOpenReadWriteCloseCapability, x as hasReadWriteCapability, y as hasFileReadStreamCapability, z as toFileSystemProviderErrorCode, B as ensureFileSystemProviderError, F as FileType, a as FilePermission, D as etag, E as FileOperationEvent, G as toFileOperationResult, H as ETAG_DISABLED, J as hasFileAtomicReadCapability, N as NotModifiedSinceFileOperationError, K as hasFileFolderCopyCapability, L as hasFileCloneCapability, M as createFileSystemProviderError, C as CancellationTokenSource } from './services2.js';
|
|
4
5
|
import { VSBuffer } from 'monaco-editor/esm/vs/base/common/buffer.js';
|
|
5
6
|
import { canceled } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
6
7
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
@@ -12,7 +13,7 @@ import { TernarySearchTree } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
|
12
13
|
import { coalesce } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
13
14
|
import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
|
|
14
15
|
import { CancellationToken } from 'monaco-editor/esm/vs/base/common/cancellation.js';
|
|
15
|
-
import {
|
|
16
|
+
import { RemoteAuthorities, Schemas } from 'monaco-editor/esm/vs/base/common/network.js';
|
|
16
17
|
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
17
18
|
import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
18
19
|
import { bi as supportsTelemetry, bj as getTelemetryLevel, bd as DEFAULT_EXTENSION, E as Disposable$1 } from './extHost.js';
|
package/dist/keybindings.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
2
|
-
import {
|
|
1
|
+
import { i as index, _ as __decorate, a as __param, h as flatten } from './contextkey.js';
|
|
2
|
+
import { E as Emitter, k as parse } from './polyfill.js';
|
|
3
|
+
import { i as isProposedApiEnabled, E as ExtensionsRegistry, j as ExtensionMessageCollector, e as IUserDataProfilesService, I as IExtensionService, k as IPreferencesService, l as IUserDataProfileService, m as IKeyboardLayoutService } from './missing-services.js';
|
|
3
4
|
import { KeyCodeUtils, IMMUTABLE_CODE_TO_KEY_CODE } from 'monaco-editor/esm/vs/base/common/keyCodes.js';
|
|
4
5
|
import { SimpleKeybinding, ScanCodeBinding, ChordKeybinding } from 'monaco-editor/esm/vs/base/common/keybindings.js';
|
|
5
6
|
import { ContextKeyExpr, IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
6
|
-
import {
|
|
7
|
+
import { S as Services, i as IFileService, I as IEditorService, b as IEditorGroupsService, o as IHostService } from './services2.js';
|
|
7
8
|
import { MenuRegistry, MenuId, MenuItemAction, IMenuService, isIMenuItem } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
|
|
8
9
|
import { getConfiguredDefaultLocale, localize } from 'monaco-editor/esm/vs/nls.js';
|
|
9
10
|
import { ThemeIcon } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as parse, m as getNodeType } from './polyfill.js';
|
|
2
|
+
import { n as ITextMateService, I as IExtensionService } from './missing-services.js';
|
|
2
3
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
3
4
|
import { g as getParseErrorMessage } from './jsonErrorMessages.js';
|
|
4
|
-
import {
|
|
5
|
+
import { r as registerExtensionFile, g as getServiceOverride$1, I as IExtensionResourceLoaderService } from './files.js';
|
|
5
6
|
import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
6
7
|
import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
|
|
7
8
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
package/dist/languageService.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { I as IExtensionService, E as ExtensionsRegistry } from './missing-services.js';
|
|
3
|
+
import { O as FILES_ASSOCIATIONS_CONFIG } from './services2.js';
|
|
4
4
|
import { parse } from 'monaco-editor/esm/vs/base/common/glob.js';
|
|
5
5
|
import { posix } from 'monaco-editor/esm/vs/base/common/path.js';
|
|
6
6
|
import { LanguageService } from 'monaco-editor/esm/vs/editor/common/services/languageService.js';
|
package/dist/languages.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './polyfill.js';
|
|
2
|
+
import { j as ExtensionMessageCollector } from './missing-services.js';
|
|
2
3
|
import { W as WorkbenchLanguageService } from './languageService.js';
|
|
3
4
|
import { g as getExtensionPoint, c as consoleExtensionMessageHandler } from './tools.js';
|
|
4
5
|
import { bd as DEFAULT_EXTENSION } from './extHost.js';
|
package/dist/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param } from './contextkey.js';
|
|
2
|
-
import {
|
|
3
|
-
import { E as Emitter } from './
|
|
2
|
+
import { c as IProductService } from './services2.js';
|
|
3
|
+
import { E as Emitter } from './polyfill.js';
|
|
4
4
|
import { Widget } from 'monaco-editor/esm/vs/base/browser/ui/widget.js';
|
|
5
5
|
import { CSSIcon, Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
|
|
6
6
|
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
@@ -25,6 +25,7 @@ import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/com
|
|
|
25
25
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
26
26
|
import { IClipboardService } from 'monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js';
|
|
27
27
|
import { IDialogService } from 'monaco-editor/esm/vs/platform/dialogs/common/dialogs.js';
|
|
28
|
+
import './missing-services.js';
|
|
28
29
|
import { I as IWorkbenchLayoutService } from './layoutService.js';
|
|
29
30
|
import { o as onServicesInitialized } from './tools.js';
|
|
30
31
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|