@codingame/monaco-vscode-api 1.69.19 → 1.69.21
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 +4 -4
- package/dist/api.js +2 -2
- package/dist/async.js +196 -0
- package/dist/configuration.d.ts +3 -2
- package/dist/configuration.js +338 -7
- package/dist/dialogs.js +1 -1
- package/dist/extHost.js +8 -28
- package/dist/files.js +113 -4
- package/dist/keybindings.js +7 -7
- package/dist/languageConfiguration.js +3 -3
- package/dist/languageService.js +3 -2
- package/dist/languages.js +3 -3
- package/dist/layout.js +1 -1
- package/dist/missing-services.js +9 -1469
- package/dist/modelEditor.js +2 -2
- package/dist/monaco.js +2 -2
- package/dist/notifications.js +4 -3
- package/dist/polyfill.js +99 -2
- package/dist/services.js +2 -2
- package/dist/services2.js +7 -9
- package/dist/snippets.js +7 -7
- package/dist/textmate.js +3 -3
- package/dist/theme.js +6 -5
- package/dist/tokenClassification.js +3 -3
- package/dist/tokenClassificationRegistry.js +1 -1
- package/dist/tools.js +822 -4
- package/dist/types.js +1 -1
- package/dist/workbenchThemeService.js +1 -1
- package/dist/workspace.js +1 -98
- package/package.json +10 -10
package/dist/modelEditor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param, E as Emitter } from './workspace.js';
|
|
2
2
|
import './polyfill.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a as ILanguageDetectionService, u as unsupported } from './missing-services.js';
|
|
4
4
|
import { MutableDisposable, Disposable, ImmortalReference, dispose, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
5
|
import { w as withUndefinedAsNull } from './types.js';
|
|
6
6
|
import { ThrottledDelayer } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
@@ -9,7 +9,7 @@ import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
|
9
9
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
10
10
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
11
11
|
import { IAccessibilityService } from 'monaco-editor/esm/vs/platform/accessibility/common/accessibility.js';
|
|
12
|
-
import {
|
|
12
|
+
import { b as IEditorService, p as SIDE_GROUP, A as ACTIVE_GROUP, c as IFileService, k as IUriIdentityService, q as isPreferredGroup, j as ITextFileService } from './services2.js';
|
|
13
13
|
import { MultiModelEditStackElement } from 'monaco-editor/esm/vs/editor/common/model/editStack.js';
|
|
14
14
|
import { ITextModelService } from 'monaco-editor/esm/vs/editor/common/services/resolverService.js';
|
|
15
15
|
import { IUndoRedoService } from 'monaco-editor/esm/vs/platform/undoRedo/common/undoRedo.js';
|
package/dist/monaco.js
CHANGED
|
@@ -8,11 +8,11 @@ import { editorOptionsRegistry } from 'monaco-editor/esm/vs/editor/common/config
|
|
|
8
8
|
import { equals as equals$1 } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
9
9
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
10
10
|
export { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
11
|
-
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
12
|
-
import { ITextResourceConfigurationService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
|
|
13
11
|
import { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
14
12
|
import { Extensions as Extensions$1 } from 'monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry.js';
|
|
15
13
|
import { Extensions as Extensions$2 } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
14
|
+
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
15
|
+
import { ITextResourceConfigurationService } from 'monaco-editor/esm/vs/editor/common/services/textResourceConfiguration.js';
|
|
16
16
|
import { StandaloneDiffEditor, StandaloneEditor } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneCodeEditor.js';
|
|
17
17
|
import { isObject } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
18
18
|
import { deepClone } from 'monaco-editor/esm/vs/base/common/objects.js';
|
package/dist/notifications.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './polyfill.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as __decorate, E as Emitter,
|
|
2
|
+
import { I as ILifecycleService } from './missing-services.js';
|
|
3
|
+
import { _ as __decorate, E as Emitter, N as NotificationsFilter, a as __param, b as NeverShowAgainScope } from './workspace.js';
|
|
4
4
|
import { n, B as ButtonBar, a as attachButtonStyler, g as getServiceOverride$1, b as attachProgressBarStyler, D as DialogHandlerContribution } from './layout.js';
|
|
5
5
|
import { focusBorder, registerColor, textLinkForeground, editorErrorForeground, editorWarningForeground, editorInfoForeground, widgetShadow, contrastBorder, editorWidgetBackground, lighten, darken, editorWidgetForeground } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
6
6
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
@@ -13,7 +13,7 @@ import { equals, isNonEmptyArray } from 'monaco-editor/esm/vs/base/common/arrays
|
|
|
13
13
|
import { Action, ActionRunner } from 'monaco-editor/esm/vs/base/common/actions.js';
|
|
14
14
|
import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
|
|
15
15
|
import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
|
|
16
|
-
import {
|
|
16
|
+
import { c as IFileService, I as IEditorGroupsService, d as IHostService } from './services2.js';
|
|
17
17
|
import { RawContextKey, IContextKeyService, ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
|
|
18
18
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
19
19
|
import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
|
|
@@ -40,6 +40,7 @@ import { DropdownMenuActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui
|
|
|
40
40
|
import { a as assertAllDefined } from './types.js';
|
|
41
41
|
import { assertIsDefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
42
42
|
import { I as IWorkbenchLayoutService } from './layoutService.js';
|
|
43
|
+
import { I as IntervalCounter } from './async.js';
|
|
43
44
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
44
45
|
import { alert } from 'monaco-editor/esm/vs/base/browser/ui/aria/aria.js';
|
|
45
46
|
import { o as onServicesInitialized } from './tools.js';
|
package/dist/polyfill.js
CHANGED
|
@@ -9,7 +9,7 @@ import { show, hide, createStyleSheet } from 'monaco-editor/esm/vs/base/browser/
|
|
|
9
9
|
import { isNumber, isObject, isUndefinedOrNull } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
10
10
|
import { Color as Color$1, RGBA as RGBA$1 } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
11
11
|
import { LanguageService as LanguageService$1 } from 'monaco-editor/esm/vs/editor/common/services/languageService.js';
|
|
12
|
-
import { E as Emitter, W as WorkspaceFolder, R as RawContextKey,
|
|
12
|
+
import { E as Emitter, W as WorkspaceFolder, R as RawContextKey, e as NoOpNotification$1 } from './workspace.js';
|
|
13
13
|
import { LanguagesRegistry as LanguagesRegistry$1 } from 'monaco-editor/esm/vs/editor/common/services/languagesRegistry.js';
|
|
14
14
|
import { firstOrDefault, distinct, equals as equals$1, binarySearch, range } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
15
15
|
import { PLAINTEXT_LANGUAGE_ID, ModesRegistry } from 'monaco-editor/esm/vs/editor/common/languages/modesRegistry.js';
|
|
@@ -793,6 +793,103 @@ class ProgressBar extends Disposable {
|
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
ProgressBar.LONG_RUNNING_INFINITE_THRESHOLD = 10000;
|
|
796
|
+
function sortedDiff(before, after, compare) {
|
|
797
|
+
const result = [];
|
|
798
|
+
function pushSplice(start, deleteCount, toInsert) {
|
|
799
|
+
if (deleteCount === 0 && toInsert.length === 0) {
|
|
800
|
+
return;
|
|
801
|
+
}
|
|
802
|
+
const latest = result[result.length - 1];
|
|
803
|
+
if (latest && latest.start + latest.deleteCount === start) {
|
|
804
|
+
latest.deleteCount += deleteCount;
|
|
805
|
+
latest.toInsert.push(...toInsert);
|
|
806
|
+
}
|
|
807
|
+
else {
|
|
808
|
+
result.push({ start, deleteCount, toInsert });
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
let beforeIdx = 0;
|
|
812
|
+
let afterIdx = 0;
|
|
813
|
+
while (true) {
|
|
814
|
+
if (beforeIdx === before.length) {
|
|
815
|
+
pushSplice(beforeIdx, 0, after.slice(afterIdx));
|
|
816
|
+
break;
|
|
817
|
+
}
|
|
818
|
+
if (afterIdx === after.length) {
|
|
819
|
+
pushSplice(beforeIdx, before.length - beforeIdx, []);
|
|
820
|
+
break;
|
|
821
|
+
}
|
|
822
|
+
const beforeElement = before[beforeIdx];
|
|
823
|
+
const afterElement = after[afterIdx];
|
|
824
|
+
const n = compare(beforeElement, afterElement);
|
|
825
|
+
if (n === 0) {
|
|
826
|
+
beforeIdx += 1;
|
|
827
|
+
afterIdx += 1;
|
|
828
|
+
}
|
|
829
|
+
else if (n < 0) {
|
|
830
|
+
pushSplice(beforeIdx, 1, []);
|
|
831
|
+
beforeIdx += 1;
|
|
832
|
+
}
|
|
833
|
+
else if (n > 0) {
|
|
834
|
+
pushSplice(beforeIdx, 0, [afterElement]);
|
|
835
|
+
afterIdx += 1;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
return result;
|
|
839
|
+
}
|
|
840
|
+
function delta(before, after, compare) {
|
|
841
|
+
const splices = sortedDiff(before, after, compare);
|
|
842
|
+
const removed = [];
|
|
843
|
+
const added = [];
|
|
844
|
+
for (const splice of splices) {
|
|
845
|
+
removed.push(...before.slice(splice.start, splice.start + splice.deleteCount));
|
|
846
|
+
added.push(...splice.toInsert);
|
|
847
|
+
}
|
|
848
|
+
return { removed, added };
|
|
849
|
+
}
|
|
850
|
+
function coalesceInPlace(array) {
|
|
851
|
+
let to = 0;
|
|
852
|
+
for (let i = 0; i < array.length; i++) {
|
|
853
|
+
if (!!array[i]) {
|
|
854
|
+
array[to] = array[i];
|
|
855
|
+
to += 1;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
array.length = to;
|
|
859
|
+
}
|
|
860
|
+
function flatten(arr) {
|
|
861
|
+
return [].concat(...arr);
|
|
862
|
+
}
|
|
863
|
+
function index(array, indexer, mapper) {
|
|
864
|
+
return array.reduce((r, t) => {
|
|
865
|
+
r[indexer(t)] = mapper ? mapper(t) : t;
|
|
866
|
+
return r;
|
|
867
|
+
}, Object.create(null));
|
|
868
|
+
}
|
|
869
|
+
function shuffle(array, _seed) {
|
|
870
|
+
let rand;
|
|
871
|
+
if (typeof _seed === 'number') {
|
|
872
|
+
let seed = _seed;
|
|
873
|
+
rand = () => {
|
|
874
|
+
const x = Math.sin(seed++) * 179426549;
|
|
875
|
+
return x - Math.floor(x);
|
|
876
|
+
};
|
|
877
|
+
}
|
|
878
|
+
else {
|
|
879
|
+
rand = Math.random;
|
|
880
|
+
}
|
|
881
|
+
for (let i = array.length - 1; i > 0; i -= 1) {
|
|
882
|
+
const j = Math.floor(rand() * (i + 1));
|
|
883
|
+
const temp = array[i];
|
|
884
|
+
array[i] = array[j];
|
|
885
|
+
array[j] = temp;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
function mapArrayOrNot(items, fn) {
|
|
889
|
+
return Array.isArray(items) ?
|
|
890
|
+
items.map(fn) :
|
|
891
|
+
fn(items);
|
|
892
|
+
}
|
|
796
893
|
class LanguageService extends Disposable {
|
|
797
894
|
constructor(warnOnOverwrite = false) {
|
|
798
895
|
super();
|
|
@@ -5557,4 +5654,4 @@ function toVSCodeColor(value) {
|
|
|
5557
5654
|
return value;
|
|
5558
5655
|
}
|
|
5559
5656
|
polyfillPrototype(Color$1.prototype, Color.prototype, toMonacoColor, toVSCodeColor);
|
|
5560
|
-
export { ConsoleMainLogger as C, NotImplementedError as N, ResourceSet as R, UserSettings as U,
|
|
5657
|
+
export { ConsoleMainLogger as C, NotImplementedError as N, ResourceSet as R, UserSettings as U, flatten as a, parse as b, createScanner as c, isReadableStream as d, peekStream as e, findNodeAtLocation as f, getNodeType as g, peekReadable as h, index as i, bufferToReadable as j, consumeStream as k, isReadableBufferedStream as l, listenStream as m, bufferedStreamToBuffer as n, newWriteableBufferStream as o, parseTree as p, newWriteableStream as q, readableToBuffer as r, streamToBuffer as s, transform as t, disposed as u, coalesceInPlace as v, mapArrayOrNot as w, delta as x, readonly as y };
|
package/dist/services.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { C as ContextKeyExprType,
|
|
1
|
+
export { I as IEditorGroupsService, b as IEditorService, c as IFileService, d as IHostService, e as ILanguageStatusService, f as IPaneCompositePartService, g as IPathService, h as IProductService, i as ISnippetsService, j as ITextFileService, k as IUriIdentityService, l as IWorkbenchEnvironmentService, m as IWorkingCopyFileService, S as Services, n as StorageScope, o as StorageTarget } from './services2.js';
|
|
2
|
+
export { C as ContextKeyExprType, N as NotificationsFilter } from './workspace.js';
|
|
3
3
|
export { StandaloneServices } from 'monaco-editor/esm/vs/editor/standalone/browser/standaloneServices.js';
|
|
4
4
|
export { ICommandService } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
5
5
|
export { INotificationService } from 'monaco-editor/esm/vs/platform/notification/common/notification.js';
|
package/dist/services2.js
CHANGED
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { createDecorator } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
2
2
|
import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
3
3
|
import { _ as __decorate, E as Emitter, i as isWorkspaceIdentifier, a as __param } from './workspace.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ResourceMap, TernarySearchTree } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
5
|
+
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
6
|
+
import { Disposable, MutableDisposable, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
5
7
|
import { joinPath } from 'monaco-editor/esm/vs/base/common/resources.js';
|
|
6
8
|
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
7
|
-
import {
|
|
8
|
-
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
9
|
-
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js';
|
|
10
|
-
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
11
|
-
import { Promises, RunOnceScheduler, runWhenIdle } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
12
|
-
import { ResourceMap, TernarySearchTree } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
9
|
+
import { isSingleFolderWorkspaceIdentifier } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
13
10
|
import { hash } from 'monaco-editor/esm/vs/base/common/hash.js';
|
|
14
11
|
import { generateUuid } from 'monaco-editor/esm/vs/base/common/uuid.js';
|
|
12
|
+
import { Promises, RunOnceScheduler, runWhenIdle } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
13
|
+
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
15
14
|
import { isUndefinedOrNull, isUndefined } from 'monaco-editor/esm/vs/base/common/types.js';
|
|
16
15
|
import { PauseableEmitter } from 'monaco-editor/esm/vs/base/common/event.js';
|
|
17
16
|
function refineServiceDecorator(serviceIdentifier) {
|
|
18
17
|
return serviceIdentifier;
|
|
19
18
|
}
|
|
20
|
-
const CancellationTokenSource = monaco.CancellationTokenSource;
|
|
21
19
|
const IFileService = ( (createDecorator('fileService')));
|
|
22
20
|
var FileType;
|
|
23
21
|
( ((function(FileType) {
|
|
@@ -868,4 +866,4 @@ var Services;
|
|
|
868
866
|
}
|
|
869
867
|
Services.install = install;
|
|
870
868
|
})(Services || (Services = {})));
|
|
871
|
-
export { ACTIVE_GROUP as A,
|
|
869
|
+
export { ACTIVE_GROUP as A, toFileSystemProviderErrorCode as B, ensureFileSystemProviderError as C, etag as D, FileOperationEvent as E, FileType as F, toFileOperationResult as G, ETAG_DISABLED as H, IEditorGroupsService as I, hasFileAtomicReadCapability as J, hasFileFolderCopyCapability as K, hasFileCloneCapability as L, createFileSystemProviderError as M, NotModifiedSinceFileOperationError as N, FILES_ASSOCIATIONS_CONFIG as O, markAsFileSystemProviderError as P, productSchemaId as Q, PROFILES_ENABLEMENT_CONFIG as R, Services as S, FilePermission as a, IEditorService as b, IFileService as c, IHostService as d, ILanguageStatusService as e, IPaneCompositePartService as f, IPathService as g, IProductService as h, ISnippetsService as i, ITextFileService as j, IUriIdentityService as k, IWorkbenchEnvironmentService as l, IWorkingCopyFileService as m, StorageScope as n, StorageTarget as o, SIDE_GROUP as p, isPreferredGroup as q, IUserDataProfilesService as r, refineServiceDecorator as s, FileSystemProviderError as t, FileSystemProviderErrorCode as u, FileChangesEvent as v, FileOperationError as w, hasOpenReadWriteCloseCapability as x, hasReadWriteCapability as y, hasFileReadStreamCapability as z };
|
package/dist/snippets.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { b as parse, g as getNodeType } from './polyfill.js';
|
|
2
|
+
import { f as IUserDataProfileService, I as ILifecycleService } from './missing-services.js';
|
|
3
|
+
import { i as ISnippetsService, S as Services, c as IFileService, j as ITextFileService } from './services2.js';
|
|
4
4
|
import { _ as __decorate, a as __param } from './workspace.js';
|
|
5
5
|
import * as monacoSuggest from 'monaco-editor/esm/vs/editor/contrib/suggest/browser/suggest.js';
|
|
6
6
|
import { extname as extname$1, basename as basename$1 } from 'monaco-editor/esm/vs/base/common/path.js';
|
|
@@ -12,8 +12,9 @@ import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
|
12
12
|
import { SnippetParser, Placeholder, Variable, Text } from 'monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetParser.js';
|
|
13
13
|
import { tail, insertInto } from 'monaco-editor/esm/vs/base/common/arrays.js';
|
|
14
14
|
import { KnownSnippetVariableNames } from 'monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetVariables.js';
|
|
15
|
+
import { g as getExtensionPoint, a as ExtensionMessageCollector, c as consoleExtensionMessageHandler, o as onServicesInitialized, E as ExtensionsRegistry } from './tools.js';
|
|
15
16
|
import { l as languagesExtPoint } from './languageService.js';
|
|
16
|
-
import {
|
|
17
|
+
import { be as DEFAULT_EXTENSION, bk as Range$2 } from './extHost.js';
|
|
17
18
|
import { CommandsRegistry } from 'monaco-editor/esm/vs/platform/commands/common/commands.js';
|
|
18
19
|
import { getWordAtText } from 'monaco-editor/esm/vs/editor/common/core/wordHelper.js';
|
|
19
20
|
import { isPatternInWord } from 'monaco-editor/esm/vs/base/common/filters.js';
|
|
@@ -23,15 +24,14 @@ import { ILanguageConfigurationService } from 'monaco-editor/esm/vs/editor/commo
|
|
|
23
24
|
import { MarkdownString } from 'monaco-editor/esm/vs/base/common/htmlContent.js';
|
|
24
25
|
import { StopWatch } from 'monaco-editor/esm/vs/base/common/stopwatch.js';
|
|
25
26
|
import { r as registerExtensionFile, I as IExtensionResourceLoaderService } from './files.js';
|
|
26
|
-
import {
|
|
27
|
+
import { b as isStringArray } from './types.js';
|
|
27
28
|
import { DisposableStore, combinedDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
28
29
|
import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
|
|
30
|
+
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
29
31
|
import { IEnvironmentService } from 'monaco-editor/esm/vs/platform/environment/common/environment.js';
|
|
30
32
|
import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
|
|
31
33
|
import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
32
34
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
|
33
|
-
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
34
|
-
import { g as getExtensionPoint, c as consoleExtensionMessageHandler, o as onServicesInitialized } from './tools.js';
|
|
35
35
|
import { g as getServiceOverride$1 } from './workspaceContext.js';
|
|
36
36
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
37
37
|
function setSnippetSuggestSupport (support) {
|
package/dist/textmate.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { _ as __decorate, a as __param, E as Emitter } from './workspace.js';
|
|
2
2
|
import './polyfill.js';
|
|
3
|
-
import { h as
|
|
3
|
+
import { h as ITextMateService } from './missing-services.js';
|
|
4
|
+
import { g as getExtensionPoint, a as ExtensionMessageCollector, c as consoleExtensionMessageHandler, o as onServicesInitialized, E as ExtensionsRegistry } from './tools.js';
|
|
4
5
|
import { l as languagesExtPoint } from './languageService.js';
|
|
5
6
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
6
7
|
import { I as IWorkbenchThemeService } from './workbenchThemeService.js';
|
|
@@ -21,9 +22,8 @@ import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
|
21
22
|
import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
|
|
22
23
|
import { IProgressService } from 'monaco-editor/esm/vs/platform/progress/common/progress.js';
|
|
23
24
|
import { nullTokenizeEncoded } from 'monaco-editor/esm/vs/editor/common/languages/nullTokenize.js';
|
|
24
|
-
import { g as getExtensionPoint, c as consoleExtensionMessageHandler, o as onServicesInitialized } from './tools.js';
|
|
25
25
|
import { S as Services } from './services2.js';
|
|
26
|
-
import {
|
|
26
|
+
import { be as DEFAULT_EXTENSION } from './extHost.js';
|
|
27
27
|
import { c as createInjectedClass } from './injection.js';
|
|
28
28
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
29
29
|
import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
|
package/dist/theme.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { b as parse$1, g as getNodeType } from './polyfill.js';
|
|
2
|
+
import { d as IExtensionService, j as IBrowserWorkbenchEnvironmentService, k as IHostColorSchemeService, l as IUserDataInitializationService } from './missing-services.js';
|
|
3
3
|
import { E as Emitter, _ as __decorate, a as __param } from './workspace.js';
|
|
4
4
|
import { T as ThemeSettings, E as ExtensionData, V as VS_DARK_THEME, a as VS_LIGHT_THEME, b as VS_HC_THEME, c as VS_HC_LIGHT_THEME, d as THEME_SCOPE_OPEN_PAREN, e as THEME_SCOPE_CLOSE_PAREN, f as THEME_SCOPE_WILDCARD, t as themeScopeRegex } from './workbenchThemeService.js';
|
|
5
5
|
import { editorBackground, editorForeground, editorSelectionBackground, editorInactiveSelection, editorSelectionHighlight, editorFindMatchHighlight, editorFindMatch, editorHoverHighlight, editorFindRangeHighlight, workbenchColorsSchemaId, asCssVariableName, Extensions as Extensions$2 } from 'monaco-editor/esm/vs/platform/theme/common/colorRegistry.js';
|
|
@@ -19,9 +19,11 @@ import { Extensions as Extensions$1 } from 'monaco-editor/esm/vs/platform/jsonsc
|
|
|
19
19
|
import { createStyleSheet, asCSSUrl } from 'monaco-editor/esm/vs/base/browser/dom.js';
|
|
20
20
|
import { r as registerExtensionFile, g as getServiceOverride$1, a as getRemoteAuthority, I as IExtensionResourceLoaderService } from './files.js';
|
|
21
21
|
import { I as IWorkbenchLayoutService } from './layoutService.js';
|
|
22
|
+
import { E as ExtensionsRegistry, a as ExtensionMessageCollector, c as consoleExtensionMessageHandler } from './tools.js';
|
|
22
23
|
import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
|
|
23
24
|
import { isWeb } from 'monaco-editor/esm/vs/base/common/platform.js';
|
|
24
|
-
import { S as
|
|
25
|
+
import { S as Sequencer } from './async.js';
|
|
26
|
+
import { S as Services, c as IFileService } from './services2.js';
|
|
25
27
|
import { onUnexpectedError } from 'monaco-editor/esm/vs/base/common/errors.js';
|
|
26
28
|
import { getIconsStyleSheet } from 'monaco-editor/esm/vs/platform/theme/browser/iconsStyleSheet.js';
|
|
27
29
|
import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
|
|
@@ -31,8 +33,7 @@ import { ILogService } from 'monaco-editor/esm/vs/platform/log/common/log.js';
|
|
|
31
33
|
import { ILanguageService } from 'monaco-editor/esm/vs/editor/common/languages/language.js';
|
|
32
34
|
import { dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
|
|
33
35
|
import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
34
|
-
import {
|
|
35
|
-
import { bd as DEFAULT_EXTENSION } from './extHost.js';
|
|
36
|
+
import { be as DEFAULT_EXTENSION } from './extHost.js';
|
|
36
37
|
import { ExtensionIdentifier } from 'monaco-editor/esm/vs/platform/extensions/common/extensions.js';
|
|
37
38
|
import { URI } from 'monaco-editor/esm/vs/base/common/uri.js';
|
|
38
39
|
import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './polyfill.js';
|
|
2
|
-
import
|
|
2
|
+
import './missing-services.js';
|
|
3
|
+
import { g as getExtensionPoint, a as ExtensionMessageCollector, c as consoleExtensionMessageHandler, o as onServicesInitialized, E as ExtensionsRegistry } from './tools.js';
|
|
3
4
|
import { g as getTokenClassificationRegistry, a as typeAndModifierIdPattern } from './tokenClassificationRegistry.js';
|
|
4
5
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
5
|
-
import { g as getExtensionPoint, c as consoleExtensionMessageHandler, o as onServicesInitialized } from './tools.js';
|
|
6
6
|
import { S as Services } from './services2.js';
|
|
7
|
-
import {
|
|
7
|
+
import { be as DEFAULT_EXTENSION } from './extHost.js';
|
|
8
8
|
const tokenClassificationRegistry = getTokenClassificationRegistry();
|
|
9
9
|
const tokenTypeExtPoint$1 = ( ExtensionsRegistry.registerExtensionPoint({
|
|
10
10
|
extensionPoint: 'semanticTokenTypes',
|
|
@@ -2,8 +2,8 @@ import { E as Emitter } from './workspace.js';
|
|
|
2
2
|
import { localize } from 'monaco-editor/esm/vs/nls.js';
|
|
3
3
|
import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
|
|
4
4
|
import { Extensions } from 'monaco-editor/esm/vs/platform/jsonschemas/common/jsonContributionRegistry.js';
|
|
5
|
-
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
6
5
|
import { RunOnceScheduler } from 'monaco-editor/esm/vs/base/common/async.js';
|
|
6
|
+
import { Color } from 'monaco-editor/esm/vs/base/common/color.js';
|
|
7
7
|
const TOKEN_TYPE_WILDCARD = '*';
|
|
8
8
|
const TOKEN_CLASSIFIER_LANGUAGE_SEPARATOR = ':';
|
|
9
9
|
const CLASSIFIER_MODIFIER_SEPARATOR = '.';
|