@codingame/monaco-vscode-textmate-service-override 12.0.1 → 13.0.0

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 (23) hide show
  1. package/index.d.ts +2 -2
  2. package/index.js +8 -8
  3. package/package.json +9 -8
  4. package/vscode/src/vs/workbench/services/textMate/browser/arrayOperation.js +1 -1
  5. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.d.ts +6 -6
  6. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.js +13 -13
  7. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.d.ts +10 -10
  8. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.js +12 -12
  9. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.d.ts +4 -4
  10. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js +1 -1
  11. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerHost.d.ts +2 -2
  12. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerTokenizer.d.ts +3 -3
  13. package/vscode/src/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateWorkerTokenizer.js +15 -15
  14. package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.d.ts +11 -11
  15. package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js +29 -29
  16. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.d.ts +5 -5
  17. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/textMateTokenizationSupport.js +5 -5
  18. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.d.ts +5 -5
  19. package/vscode/src/vs/workbench/services/textMate/browser/tokenizationSupport/tokenizationSupportWithLineLimit.js +8 -8
  20. package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.d.ts +2 -2
  21. package/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.js +1 -1
  22. package/vscode/src/vs/workbench/services/textMate/common/TMScopeRegistry.d.ts +2 -2
  23. package/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js +5 -5
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
2
- import { ITextMateTokenizationService } from "vscode/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service";
1
+ import { type IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
2
+ import { ITextMateTokenizationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service";
3
3
  export default function getServiceOverride(): IEditorOverrideServices;
4
4
  export { ITextMateTokenizationService };
package/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
 
2
- import { StandaloneServices } from 'vscode/vscode/vs/editor/standalone/browser/standaloneServices';
3
- import { ITextMateTokenizationService } from 'vscode/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service';
4
- export { ITextMateTokenizationService } from 'vscode/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service';
5
- import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
2
+ import { StandaloneServices } from '@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices';
3
+ import { ITextMateTokenizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service';
4
+ export { ITextMateTokenizationService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service';
5
+ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
6
6
  import { TextMateTokenizationFeature } from './vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeatureImpl.js';
7
- import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
8
- import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
7
+ import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
8
+ import { ILifecycleService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
9
9
  import getServiceOverride$1 from '@codingame/monaco-vscode-files-service-override';
10
- import { registerServiceInitializeParticipant } from 'vscode/lifecycle';
11
- import { registerAssets } from 'vscode/assets';
10
+ import { registerServiceInitializeParticipant } from '@codingame/monaco-vscode-api/lifecycle';
11
+ import { registerAssets } from '@codingame/monaco-vscode-api/assets';
12
12
  import './vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.js';
13
13
  import '@codingame/monaco-vscode-3dd5b442-bfbc-5b1d-8f4a-7567530c75f5-common/vscode/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens';
14
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-textmate-service-override",
3
- "version": "12.0.1",
3
+ "version": "13.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - textmate service-override",
6
6
  "keywords": [],
@@ -15,16 +15,17 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-33833ac7-3af3-5e9d-8fb9-11838d852c59-common": "12.0.1",
19
- "@codingame/monaco-vscode-3dd5b442-bfbc-5b1d-8f4a-7567530c75f5-common": "12.0.1",
20
- "@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "12.0.1",
21
- "@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common": "12.0.1",
22
- "@codingame/monaco-vscode-files-service-override": "12.0.1",
23
- "vscode": "npm:@codingame/monaco-vscode-api@12.0.1",
18
+ "@codingame/monaco-vscode-33833ac7-3af3-5e9d-8fb9-11838d852c59-common": "13.0.0",
19
+ "@codingame/monaco-vscode-3dd5b442-bfbc-5b1d-8f4a-7567530c75f5-common": "13.0.0",
20
+ "@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "13.0.0",
21
+ "@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common": "13.0.0",
22
+ "@codingame/monaco-vscode-files-service-override": "13.0.0",
24
23
  "vscode-oniguruma": "1.7.0",
25
24
  "vscode-textmate": "9.1.0"
26
25
  },
27
- "peerDependencies": {},
26
+ "peerDependencies": {
27
+ "@codingame/monaco-vscode-api": "13.0.0"
28
+ },
28
29
  "peerDependenciesMeta": {},
29
30
  "main": "index.js",
30
31
  "module": "index.js",
@@ -1,5 +1,5 @@
1
1
 
2
- import { compareBy, numberComparator } from 'vscode/vscode/vs/base/common/arrays';
2
+ import { compareBy, numberComparator } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
3
3
 
4
4
  class ArrayEdit {
5
5
  constructor(
@@ -1,9 +1,9 @@
1
- import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import { IObservable } from "vscode/vscode/vs/base/common/observable";
3
- import { Proxied } from "vscode/vscode/vs/base/common/worker/simpleWorker";
4
- import { IBackgroundTokenizationStore, ILanguageIdCodec } from "vscode/vscode/vs/editor/common/languages";
5
- import { ITextModel } from "vscode/vscode/vs/editor/common/model";
6
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IObservable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/observable";
3
+ import { Proxied } from "@codingame/monaco-vscode-api/vscode/vs/base/common/worker/simpleWorker";
4
+ import { IBackgroundTokenizationStore, ILanguageIdCodec } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
5
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
6
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
7
7
  import type { StateDeltas, TextMateTokenizationWorker } from "./worker/textMateTokenizationWorker.worker.js";
8
8
  export declare class TextMateWorkerTokenizerController extends Disposable {
9
9
  private readonly _model;
@@ -1,17 +1,17 @@
1
1
 
2
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
3
- import 'vscode/vscode/vs/base/common/arrays';
4
- import 'vscode/vscode/vs/base/common/event';
5
- import { autorun } from 'vscode/vscode/vs/base/common/observableInternal/autorun';
6
- import 'vscode/vscode/vs/base/common/observableInternal/derived';
7
- import 'vscode/vscode/vs/base/common/cancellation';
8
- import { keepObserved } from 'vscode/vscode/vs/base/common/observableInternal/utils';
9
- import { countEOL } from 'vscode/vscode/vs/editor/common/core/eolCounter';
10
- import { LineRange } from 'vscode/vscode/vs/editor/common/core/lineRange';
11
- import { Range } from 'vscode/vscode/vs/editor/common/core/range';
12
- import { TokenizationStateStore } from 'vscode/vscode/vs/editor/common/model/textModelTokens';
13
- import { ContiguousMultilineTokensBuilder } from 'vscode/vscode/vs/editor/common/tokens/contiguousMultilineTokensBuilder';
14
- import { observableConfigValue } from 'vscode/vscode/vs/platform/observable/common/platformObservableUtils';
2
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
3
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
4
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
5
+ import { autorun } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/autorun';
6
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/derived';
7
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
8
+ import { keepObserved } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils';
9
+ import { countEOL } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/eolCounter';
10
+ import { LineRange } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/lineRange';
11
+ import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
12
+ import { TokenizationStateStore } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model/textModelTokens';
13
+ import { ContiguousMultilineTokensBuilder } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/tokens/contiguousMultilineTokensBuilder';
14
+ import { observableConfigValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/observable/common/platformObservableUtils';
15
15
  import { MonotonousIndexTransformer, ArrayEdit, SingleArrayEdit } from '../arrayOperation.js';
16
16
 
17
17
  class TextMateWorkerTokenizerController extends Disposable {
@@ -1,13 +1,13 @@
1
- import { IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import { IObservable } from "vscode/vscode/vs/base/common/observable";
3
- import { IBackgroundTokenizationStore, IBackgroundTokenizer } from "vscode/vscode/vs/editor/common/languages";
4
- import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
5
- import { ITextModel } from "vscode/vscode/vs/editor/common/model";
6
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
7
- import { IEnvironmentService } from "vscode/vscode/vs/platform/environment/common/environment.service";
8
- import { IExtensionResourceLoaderService } from "vscode/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service";
9
- import { INotificationService } from "vscode/vscode/vs/platform/notification/common/notification.service";
10
- import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
1
+ import { IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { IObservable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/observable";
3
+ import { IBackgroundTokenizationStore, IBackgroundTokenizer } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
4
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
5
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
6
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
7
+ import { IEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service";
8
+ import { IExtensionResourceLoaderService } from "@codingame/monaco-vscode-api/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service";
9
+ import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
10
+ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
11
11
  import { IValidGrammarDefinition } from "../../common/TMScopeRegistry.js";
12
12
  import type { IRawTheme } from "vscode-textmate";
13
13
  export declare class ThreadedBackgroundTokenizerFactory implements IDisposable {
@@ -1,19 +1,19 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import '@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common/vscode/vs/amdX';
4
- import { DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
5
- import { nodeModulesPath, FileAccess } from 'vscode/vscode/vs/base/common/network';
6
- import 'vscode/vscode/vs/base/common/platform';
7
- import { URI } from 'vscode/vscode/vs/base/common/uri';
8
- import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
9
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
10
- import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment.service';
11
- import { IExtensionResourceLoaderService } from 'vscode/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service';
12
- import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
13
- import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
4
+ import { DisposableStore, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
5
+ import { nodeModulesPath, FileAccess } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
6
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
7
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
8
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
9
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
10
+ import { IEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/platform/environment/common/environment.service';
11
+ import { IExtensionResourceLoaderService } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service';
12
+ import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
13
+ import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
14
14
  import { TextMateWorkerHost } from './worker/textMateWorkerHost.js';
15
15
  import { TextMateWorkerTokenizerController } from './textMateWorkerTokenizerController.js';
16
- import { createWebWorker } from 'vscode/vscode/vs/base/browser/defaultWorkerFactory';
16
+ import { createWebWorker } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/defaultWorkerFactory';
17
17
 
18
18
  var ThreadedBackgroundTokenizerFactory_1;
19
19
  let ThreadedBackgroundTokenizerFactory = class ThreadedBackgroundTokenizerFactory {
@@ -1,9 +1,9 @@
1
- import { UriComponents } from "vscode/vscode/vs/base/common/uri";
2
- import { LanguageId } from "vscode/vscode/vs/editor/common/encodedTokenAttributes";
3
- import { IModelChangedEvent } from "vscode/vscode/vs/editor/common/model/mirrorTextModel";
1
+ import { UriComponents } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { LanguageId } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes";
3
+ import { IModelChangedEvent } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model/mirrorTextModel";
4
4
  import { IValidEmbeddedLanguagesMap, IValidTokenTypeMap } from "../../../common/TMScopeRegistry.js";
5
5
  import type { IRawTheme, StackDiff } from "vscode-textmate";
6
- import { IRequestHandler, IWorkerServer } from "vscode/vscode/vs/base/common/worker/simpleWorker";
6
+ import { IRequestHandler, IWorkerServer } from "@codingame/monaco-vscode-api/vscode/vs/base/common/worker/simpleWorker";
7
7
  export declare function create(workerServer: IWorkerServer): TextMateTokenizationWorker;
8
8
  export interface ICreateData {
9
9
  grammarDefinitions: IValidGrammarDefinitionDTO[];
@@ -1,5 +1,5 @@
1
1
 
2
- import { URI } from 'vscode/vscode/vs/base/common/uri';
2
+ import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
3
3
  import { TMGrammarFactory } from '../../../common/TMGrammarFactory.js';
4
4
  import { TextMateWorkerTokenizer } from './textMateWorkerTokenizer.js';
5
5
  import { TextMateWorkerHost } from './textMateWorkerHost.js';
@@ -1,5 +1,5 @@
1
- import { UriComponents } from "vscode/vscode/vs/base/common/uri";
2
- import { IWorkerServer, IWorkerClient } from "vscode/vscode/vs/base/common/worker/simpleWorker";
1
+ import { UriComponents } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { IWorkerServer, IWorkerClient } from "@codingame/monaco-vscode-api/vscode/vs/base/common/worker/simpleWorker";
3
3
  import { StateDeltas } from "./textMateTokenizationWorker.worker.js";
4
4
  export declare abstract class TextMateWorkerHost {
5
5
  static CHANNEL_NAME: string;
@@ -1,6 +1,6 @@
1
- import { URI } from "vscode/vscode/vs/base/common/uri";
2
- import { LanguageId } from "vscode/vscode/vs/editor/common/encodedTokenAttributes";
3
- import { IModelChangedEvent, MirrorTextModel } from "vscode/vscode/vs/editor/common/model/mirrorTextModel";
1
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { LanguageId } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes";
3
+ import { IModelChangedEvent, MirrorTextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model/mirrorTextModel";
4
4
  import { ICreateGrammarResult } from "../../../common/TMGrammarFactory.js";
5
5
  import { StateDeltas } from "./textMateTokenizationWorker.worker.js";
6
6
  export interface TextMateModelTokenizerHost {
@@ -1,19 +1,19 @@
1
1
 
2
- import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
3
- import { observableValue } from 'vscode/vscode/vs/base/common/observableInternal/base';
4
- import 'vscode/vscode/vs/base/common/arrays';
5
- import 'vscode/vscode/vs/base/common/event';
6
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
7
- import 'vscode/vscode/vs/base/common/observableInternal/autorun';
8
- import 'vscode/vscode/vs/base/common/observableInternal/derived';
9
- import 'vscode/vscode/vs/base/common/cancellation';
10
- import 'vscode/vscode/vs/base/common/observableInternal/utils';
11
- import { setTimeout0 } from 'vscode/vscode/vs/base/common/platform';
12
- import { LineRange } from 'vscode/vscode/vs/editor/common/core/lineRange';
13
- import { MirrorTextModel } from 'vscode/vscode/vs/editor/common/model/mirrorTextModel';
14
- import { TokenizerWithStateStore } from 'vscode/vscode/vs/editor/common/model/textModelTokens';
15
- import { ContiguousMultilineTokensBuilder } from 'vscode/vscode/vs/editor/common/tokens/contiguousMultilineTokensBuilder';
16
- import { LineTokens } from 'vscode/vscode/vs/editor/common/tokens/lineTokens';
2
+ import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
3
+ import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/base';
4
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
5
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
6
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
7
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/autorun';
8
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/derived';
9
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
10
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils';
11
+ import { setTimeout0 } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
12
+ import { LineRange } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/lineRange';
13
+ import { MirrorTextModel } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model/mirrorTextModel';
14
+ import { TokenizerWithStateStore } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/model/textModelTokens';
15
+ import { ContiguousMultilineTokensBuilder } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/tokens/contiguousMultilineTokensBuilder';
16
+ import { LineTokens } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/tokens/lineTokens';
17
17
  import { TextMateTokenizationSupport } from '../../tokenizationSupport/textMateTokenizationSupport.js';
18
18
  import { TokenizationSupportWithLineLimit } from '../../tokenizationSupport/tokenizationSupportWithLineLimit.js';
19
19
 
@@ -1,14 +1,14 @@
1
- import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
3
- import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
4
- import { IExtensionResourceLoaderService } from "vscode/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service";
5
- import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
6
- import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
7
- import { INotificationService } from "vscode/vscode/vs/platform/notification/common/notification.service";
8
- import { IProgressService } from "vscode/vscode/vs/platform/progress/common/progress.service";
9
- import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
10
- import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
11
- import { ITextMateTokenizationService } from "vscode/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service";
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
3
+ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
4
+ import { IExtensionResourceLoaderService } from "@codingame/monaco-vscode-api/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service";
5
+ import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
6
+ import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
7
+ import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
8
+ import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
9
+ import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
10
+ import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
11
+ import { ITextMateTokenizationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service";
12
12
  import { IWorkbenchThemeService } from "@codingame/monaco-vscode-3dd5b442-bfbc-5b1d-8f4a-7567530c75f5-common/vscode/vs/workbench/services/themes/common/workbenchThemeService.service";
13
13
  import type { IGrammar } from "vscode-textmate";
14
14
  export declare class TextMateTokenizationFeature extends Disposable implements ITextMateTokenizationService {
@@ -1,34 +1,34 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { createStyleSheet } from 'vscode/vscode/vs/base/browser/domStylesheets';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { createStyleSheet } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/domStylesheets';
4
4
  import { resolveAmdNodeModulePath } from '@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common/vscode/vs/amdX';
5
- import { equals } from 'vscode/vscode/vs/base/common/arrays';
6
- import { Color } from 'vscode/vscode/vs/base/common/color';
7
- import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
8
- import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
9
- import { FileAccess, nodeModulesPath } from 'vscode/vscode/vs/base/common/network';
10
- import 'vscode/vscode/vs/base/common/event';
11
- import 'vscode/vscode/vs/base/common/observableInternal/autorun';
12
- import 'vscode/vscode/vs/base/common/observableInternal/derived';
13
- import 'vscode/vscode/vs/base/common/cancellation';
14
- import { observableFromEvent } from 'vscode/vscode/vs/base/common/observableInternal/utils';
15
- import { isWeb } from 'vscode/vscode/vs/base/common/platform';
16
- import { joinPath, isEqualOrParent } from 'vscode/vscode/vs/base/common/resources';
17
- import { isObject } from 'vscode/vscode/vs/base/common/types';
18
- import { StandardTokenType } from 'vscode/vscode/vs/editor/common/encodedTokenAttributes';
19
- import { LazyTokenizationSupport, TokenizationRegistry } from 'vscode/vscode/vs/editor/common/languages';
20
- import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
21
- import { generateTokensCSSForColorMap } from 'vscode/vscode/vs/editor/common/languages/supports/tokenization';
22
- import { localize } from 'vscode/vscode/vs/nls';
23
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
24
- import { IExtensionResourceLoaderService } from 'vscode/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service';
25
- import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
26
- import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
27
- import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
28
- import { ProgressLocation } from 'vscode/vscode/vs/platform/progress/common/progress';
29
- import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
30
- import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
31
- import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
5
+ import { equals } from '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
6
+ import { Color } from '@codingame/monaco-vscode-api/vscode/vs/base/common/color';
7
+ import { onUnexpectedError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
8
+ import { Disposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
9
+ import { FileAccess, nodeModulesPath } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
10
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
11
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/autorun';
12
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/derived';
13
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
14
+ import { observableFromEvent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils';
15
+ import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
16
+ import { joinPath, isEqualOrParent } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
17
+ import { isObject } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
18
+ import { StandardTokenType } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes';
19
+ import { LazyTokenizationSupport, TokenizationRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
20
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
21
+ import { generateTokensCSSForColorMap } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/supports/tokenization';
22
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
23
+ import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
24
+ import { IExtensionResourceLoaderService } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensionResourceLoader/common/extensionResourceLoader.service';
25
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
26
+ import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
27
+ import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
28
+ import { ProgressLocation } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress';
29
+ import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
30
+ import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
31
+ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
32
32
  import { TextMateTokenizationSupport } from './tokenizationSupport/textMateTokenizationSupport.js';
33
33
  import { TokenizationSupportWithLineLimit } from './tokenizationSupport/tokenizationSupportWithLineLimit.js';
34
34
  import { ThreadedBackgroundTokenizerFactory } from './backgroundTokenization/threadedBackgroundTokenizerFactory.js';
@@ -1,8 +1,8 @@
1
- import { Event } from "vscode/vscode/vs/base/common/event";
2
- import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
3
- import { LanguageId } from "vscode/vscode/vs/editor/common/encodedTokenAttributes";
4
- import { EncodedTokenizationResult, IBackgroundTokenizationStore, IBackgroundTokenizer, IState, ITokenizationSupport, TokenizationResult } from "vscode/vscode/vs/editor/common/languages";
5
- import { ITextModel } from "vscode/vscode/vs/editor/common/model";
1
+ import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
+ import { LanguageId } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes";
4
+ import { EncodedTokenizationResult, IBackgroundTokenizationStore, IBackgroundTokenizer, IState, ITokenizationSupport, TokenizationResult } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
5
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
6
6
  import type { IGrammar, StateStack } from "vscode-textmate";
7
7
  export declare class TextMateTokenizationSupport extends Disposable implements ITokenizationSupport {
8
8
  private readonly _grammar;
@@ -1,9 +1,9 @@
1
1
 
2
- import { Emitter } from 'vscode/vscode/vs/base/common/event';
3
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
4
- import { StopWatch } from 'vscode/vscode/vs/base/common/stopwatch';
5
- import { TokenMetadata } from 'vscode/vscode/vs/editor/common/encodedTokenAttributes';
6
- import { EncodedTokenizationResult } from 'vscode/vscode/vs/editor/common/languages';
2
+ import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
3
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import { StopWatch } from '@codingame/monaco-vscode-api/vscode/vs/base/common/stopwatch';
5
+ import { TokenMetadata } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes';
6
+ import { EncodedTokenizationResult } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
7
7
 
8
8
  class TextMateTokenizationSupport extends Disposable {
9
9
  constructor(_grammar, _initialState, _containsEmbeddedLanguages, _createBackgroundTokenizer, _backgroundTokenizerShouldOnlyVerifyTokens, _reportTokenizationTime, _reportSlowTokenization) {
@@ -1,8 +1,8 @@
1
- import { LanguageId } from "vscode/vscode/vs/editor/common/encodedTokenAttributes";
2
- import { EncodedTokenizationResult, IBackgroundTokenizationStore, IBackgroundTokenizer, IState, ITokenizationSupport, TokenizationResult } from "vscode/vscode/vs/editor/common/languages";
3
- import { ITextModel } from "vscode/vscode/vs/editor/common/model";
4
- import { Disposable, IDisposable } from "vscode/vscode/vs/base/common/lifecycle";
5
- import { IObservable } from "vscode/vscode/vs/base/common/observable";
1
+ import { LanguageId } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes";
2
+ import { EncodedTokenizationResult, IBackgroundTokenizationStore, IBackgroundTokenizer, IState, ITokenizationSupport, TokenizationResult } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
3
+ import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model";
4
+ import { Disposable, IDisposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
5
+ import { IObservable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/observable";
6
6
  export declare class TokenizationSupportWithLineLimit extends Disposable implements ITokenizationSupport {
7
7
  private readonly _encodedLanguageId;
8
8
  private readonly _actual;
@@ -1,12 +1,12 @@
1
1
 
2
- import { nullTokenizeEncoded } from 'vscode/vscode/vs/editor/common/languages/nullTokenize';
3
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
4
- import 'vscode/vscode/vs/base/common/arrays';
5
- import 'vscode/vscode/vs/base/common/event';
6
- import 'vscode/vscode/vs/base/common/observableInternal/autorun';
7
- import 'vscode/vscode/vs/base/common/observableInternal/derived';
8
- import 'vscode/vscode/vs/base/common/cancellation';
9
- import { keepObserved } from 'vscode/vscode/vs/base/common/observableInternal/utils';
2
+ import { nullTokenizeEncoded } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/nullTokenize';
3
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/arrays';
5
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
6
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/autorun';
7
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/derived';
8
+ import '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
9
+ import { keepObserved } from '@codingame/monaco-vscode-api/vscode/vs/base/common/observableInternal/utils';
10
10
 
11
11
  class TokenizationSupportWithLineLimit extends Disposable {
12
12
  get backgroundTokenizerShouldOnlyVerifyTokens() {
@@ -1,5 +1,5 @@
1
- import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
2
- import { URI } from "vscode/vscode/vs/base/common/uri";
1
+ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
3
  import { IValidGrammarDefinition } from "./TMScopeRegistry.js";
4
4
  import type { IGrammar, IOnigLib, IRawTheme, StateStack } from "vscode-textmate";
5
5
  interface ITMGrammarFactoryHost {
@@ -1,5 +1,5 @@
1
1
 
2
- import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
2
+ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
3
3
  import { TMScopeRegistry } from './TMScopeRegistry.js';
4
4
 
5
5
  const missingTMGrammarErrorMessage = 'No TM Grammar registered for this language.';
@@ -1,5 +1,5 @@
1
- import { URI } from "vscode/vscode/vs/base/common/uri";
2
- import { LanguageId, StandardTokenType } from "vscode/vscode/vs/editor/common/encodedTokenAttributes";
1
+ import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
+ import { LanguageId, StandardTokenType } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/encodedTokenAttributes";
3
3
  export interface IValidGrammarDefinition {
4
4
  location: URI;
5
5
  language?: string;
@@ -1,10 +1,10 @@
1
1
 
2
- import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
3
- import { localize } from 'vscode/vscode/vs/nls';
4
- import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
2
+ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
+ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
+ import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
5
5
  import { getTokenClassificationRegistry, typeAndModifierIdPattern } from '@codingame/monaco-vscode-3dd5b442-bfbc-5b1d-8f4a-7567530c75f5-common/vscode/vs/platform/theme/common/tokenClassificationRegistry';
6
- import { registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
7
- import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
6
+ import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
7
+ import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
8
8
 
9
9
  const tokenClassificationRegistry = getTokenClassificationRegistry();
10
10
  const tokenTypeExtPoint = ExtensionsRegistry.registerExtensionPoint({