@codingame/monaco-vscode-language-detection-worker-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.
- package/index.d.ts +1 -1
- package/index.js +3 -3
- package/package.json +9 -8
- package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +22 -22
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.d.ts +1 -1
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js +2 -2
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorker.protocol.d.ts +1 -1
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.d.ts +13 -13
- package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js +21 -21
package/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { IEditorOverrideServices } from "vscode/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
1
|
+
import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscode/vs/editor/standalone/browser/standaloneServices";
|
|
2
2
|
export default function getServiceOverride(): IEditorOverrideServices;
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
2
|
+
import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
|
|
3
3
|
import { LanguageDetectionService } from './vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionWorkerServiceImpl.js';
|
|
4
|
-
import { ILanguageDetectionService } from 'vscode/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service';
|
|
5
|
-
import { registerAssets } from 'vscode/assets';
|
|
4
|
+
import { ILanguageDetectionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service';
|
|
5
|
+
import { registerAssets } from '@codingame/monaco-vscode-api/assets';
|
|
6
6
|
import './vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js';
|
|
7
7
|
|
|
8
8
|
registerAssets({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-language-detection-worker-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - language-detection-worker service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "
|
|
19
|
-
"@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "
|
|
20
|
-
"@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common": "
|
|
21
|
-
"@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "
|
|
22
|
-
"@vscode/vscode-languagedetection": "1.0.21"
|
|
23
|
-
|
|
18
|
+
"@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common": "13.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "13.0.0",
|
|
20
|
+
"@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common": "13.0.0",
|
|
21
|
+
"@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common": "13.0.0",
|
|
22
|
+
"@vscode/vscode-languagedetection": "1.0.21"
|
|
23
|
+
},
|
|
24
|
+
"peerDependencies": {
|
|
25
|
+
"@codingame/monaco-vscode-api": "13.0.0"
|
|
24
26
|
},
|
|
25
|
-
"peerDependencies": {},
|
|
26
27
|
"peerDependenciesMeta": {},
|
|
27
28
|
"main": "index.js",
|
|
28
29
|
"module": "index.js",
|
package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { getCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
5
|
-
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
6
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
7
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
8
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
9
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
10
|
-
import { StatusbarAlignment } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
11
|
-
import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { getCodeEditor } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorBrowser';
|
|
5
|
+
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
7
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
8
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
9
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
10
|
+
import { StatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
11
|
+
import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
12
12
|
import { LanguageDetectionLanguageEventSource } from '@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService';
|
|
13
|
-
import { ILanguageDetectionService } from 'vscode/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service';
|
|
14
|
-
import { ThrottledDelayer } from 'vscode/vscode/vs/base/common/async';
|
|
15
|
-
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
16
|
-
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
17
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
18
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
19
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
20
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
13
|
+
import { ILanguageDetectionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service';
|
|
14
|
+
import { ThrottledDelayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
15
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
16
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
17
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
18
|
+
import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
|
|
19
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
20
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
21
21
|
import { NOTEBOOK_EDITOR_EDITABLE } from '@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
22
|
-
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
23
|
-
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
24
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
25
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
22
|
+
import { KeyCode, KeyMod } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
23
|
+
import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
|
|
24
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
25
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
26
26
|
|
|
27
27
|
var LanguageDetectionStatusContribution_1;
|
|
28
28
|
const detectLanguageCommandId = 'editor.detectLanguage';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRequestHandler, IWorkerServer } from "vscode/vscode/vs/base/common/worker/simpleWorker";
|
|
1
|
+
import { IRequestHandler, IWorkerServer } from "@codingame/monaco-vscode-api/vscode/vs/base/common/worker/simpleWorker";
|
|
2
2
|
import { ILanguageDetectionWorker } from "./languageDetectionWorker.protocol.js";
|
|
3
3
|
export declare function create(workerServer: IWorkerServer): IRequestHandler;
|
|
4
4
|
export declare class LanguageDetectionSimpleWorker implements ILanguageDetectionWorker {
|
package/vscode/src/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { ModelOperations } from '@vscode/vscode-languagedetection';
|
|
3
|
-
import { StopWatch } from 'vscode/vscode/vs/base/common/stopwatch';
|
|
3
|
+
import { StopWatch } from '@codingame/monaco-vscode-api/vscode/vs/base/common/stopwatch';
|
|
4
4
|
import { LanguageDetectionWorkerHost } from './languageDetectionWorker.protocol.js';
|
|
5
|
-
import { WorkerTextModelSyncServer } from 'vscode/vscode/vs/editor/common/services/textModelSync/textModelSync.impl';
|
|
5
|
+
import { WorkerTextModelSyncServer } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textModelSync/textModelSync.impl';
|
|
6
6
|
|
|
7
7
|
function create(workerServer) {
|
|
8
8
|
return ( new LanguageDetectionSimpleWorker(workerServer));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IWorkerClient, IWorkerServer } from "vscode/vscode/vs/base/common/worker/simpleWorker";
|
|
1
|
+
import { IWorkerClient, IWorkerServer } from "@codingame/monaco-vscode-api/vscode/vs/base/common/worker/simpleWorker";
|
|
2
2
|
export declare abstract class LanguageDetectionWorkerHost {
|
|
3
3
|
static CHANNEL_NAME: string;
|
|
4
4
|
static getChannel(workerServer: IWorkerServer): LanguageDetectionWorkerHost;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { ILanguageDetectionService } from "vscode/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service";
|
|
3
|
-
import { IWorkbenchEnvironmentService } from "vscode/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
4
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
-
import { ILanguageService } from "vscode/vscode/vs/editor/common/languages/language";
|
|
6
|
-
import { URI } from "vscode/vscode/vs/base/common/uri";
|
|
7
|
-
import { IModelService } from "vscode/vscode/vs/editor/common/services/model";
|
|
8
|
-
import { ITelemetryService } from "vscode/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
9
|
-
import { IDiagnosticsService } from "vscode/vscode/vs/platform/diagnostics/common/diagnostics.service";
|
|
10
|
-
import { IWorkspaceContextService } from "vscode/vscode/vs/platform/workspace/common/workspace.service";
|
|
11
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
12
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
13
|
-
import { ILogService } from "vscode/vscode/vs/platform/log/common/log.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { ILanguageDetectionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service";
|
|
3
|
+
import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
|
|
4
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
5
|
+
import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
|
|
6
|
+
import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
|
|
7
|
+
import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
|
|
8
|
+
import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service";
|
|
9
|
+
import { IDiagnosticsService } from "@codingame/monaco-vscode-api/vscode/vs/platform/diagnostics/common/diagnostics.service";
|
|
10
|
+
import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
|
|
11
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
12
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
13
|
+
import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
|
|
14
14
|
export declare class LanguageDetectionService extends Disposable implements ILanguageDetectionService {
|
|
15
15
|
private readonly _environmentService;
|
|
16
16
|
private readonly _configurationService;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { LanguageDetectionStatsId } from '@codingame/monaco-vscode-e571cbbb-526b-5d8b-92c5-a0437d2dabb3-common/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService';
|
|
5
|
-
import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
6
|
-
import { nodeModulesPath, FileAccess, Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
7
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
8
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
-
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
10
|
-
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
11
|
-
import 'vscode/vscode/vs/base/common/platform';
|
|
12
|
-
import 'vscode/vscode/vs/platform/instantiation/common/extensions';
|
|
13
|
-
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
14
|
-
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
15
|
-
import { IDiagnosticsService } from 'vscode/vscode/vs/platform/diagnostics/common/diagnostics.service';
|
|
16
|
-
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace.service';
|
|
17
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
18
|
-
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
19
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
20
|
-
import { LRUCache } from 'vscode/vscode/vs/base/common/map';
|
|
21
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
5
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
6
|
+
import { nodeModulesPath, FileAccess, Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
7
|
+
import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
8
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
+
import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
|
|
10
|
+
import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
|
|
11
|
+
import '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
|
|
12
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
|
|
13
|
+
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
|
|
14
|
+
import { ITelemetryService } from '@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service';
|
|
15
|
+
import { IDiagnosticsService } from '@codingame/monaco-vscode-api/vscode/vs/platform/diagnostics/common/diagnostics.service';
|
|
16
|
+
import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
|
|
17
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
18
|
+
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
19
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
20
|
+
import { LRUCache } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
|
|
21
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
22
22
|
import '@codingame/monaco-vscode-cb805e61-7d70-50d9-b937-bf6481ea0c17-common/vscode/vs/amdX';
|
|
23
|
-
import { createWebWorker } from 'vscode/vscode/vs/base/browser/defaultWorkerFactory';
|
|
24
|
-
import { WorkerTextModelSyncClient } from 'vscode/vscode/vs/editor/common/services/textModelSync/textModelSync.impl';
|
|
23
|
+
import { createWebWorker } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/defaultWorkerFactory';
|
|
24
|
+
import { WorkerTextModelSyncClient } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textModelSync/textModelSync.impl';
|
|
25
25
|
import { LanguageDetectionWorkerHost } from './languageDetectionWorker.protocol.js';
|
|
26
26
|
|
|
27
27
|
var LanguageDetectionService_1;
|