@codingame/monaco-vscode-extensions-service-override 1.85.6 → 2.0.0-v2.1
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/extensions.js +18 -14
- package/package.json +5 -5
- package/vscode/src/vs/platform/extensionResourceLoader/browser/extensionResourceLoaderService.js +7 -7
- package/vscode/src/vs/platform/lifecycle/common/lifecycle.js +1 -1
- package/vscode/src/vs/platform/log/browser/log.js +1 -1
- package/vscode/src/vs/platform/remote/common/managedSocket.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadAiEmbeddingVector.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadAiRelatedInformation.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadAuthentication.js +20 -20
- package/vscode/src/vs/workbench/api/browser/mainThreadBulkEdits.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadChat.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadChatAgents2.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadChatProvider.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadChatVariables.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadClipboard.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadCodeInsets.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadCommands.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadComments.js +10 -10
- package/vscode/src/vs/workbench/api/browser/mainThreadConfiguration.js +6 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadConsole.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadCustomEditors.js +17 -17
- package/vscode/src/vs/workbench/api/browser/mainThreadDebugService.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadDecorations.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadDiagnostics.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadDialogs.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadDocumentContentProviders.js +10 -10
- package/vscode/src/vs/workbench/api/browser/mainThreadDocuments.js +13 -13
- package/vscode/src/vs/workbench/api/browser/mainThreadDocumentsAndEditors.js +12 -12
- package/vscode/src/vs/workbench/api/browser/mainThreadDownloadService.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadEditSessionIdentityParticipant.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadEditor.js +9 -9
- package/vscode/src/vs/workbench/api/browser/mainThreadEditorTabs.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadEditors.js +10 -10
- package/vscode/src/vs/workbench/api/browser/mainThreadErrors.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadExtensionService.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystem.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadFileSystemEventService.js +18 -18
- package/vscode/src/vs/workbench/api/browser/mainThreadInlineChat.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadInteractive.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadIssueReporter.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadLabelService.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguageFeatures.js +14 -14
- package/vscode/src/vs/workbench/api/browser/mainThreadLanguages.js +6 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadLocalization.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadLogService.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadManagedSockets.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadMessageService.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebook.js +11 -11
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocuments.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookDocumentsAndEditors.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookEditors.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookKernels.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookRenderers.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadNotebookSaveParticipant.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadOutputService.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadProfilContentHandlers.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadProgress.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadQuickDiff.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadQuickOpen.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadRemoteConnectionData.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadSCM.js +9 -9
- package/vscode/src/vs/workbench/api/browser/mainThreadSaveParticipant.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadSearch.js +6 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadSecretState.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadShare.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadSpeech.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadStatusBar.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadStorage.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadTask.js +15 -15
- package/vscode/src/vs/workbench/api/browser/mainThreadTelemetry.js +5 -5
- package/vscode/src/vs/workbench/api/browser/mainThreadTerminalService.js +6 -6
- package/vscode/src/vs/workbench/api/browser/mainThreadTesting.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadTheming.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadTimeline.js +3 -3
- package/vscode/src/vs/workbench/api/browser/mainThreadTreeViews.js +7 -7
- package/vscode/src/vs/workbench/api/browser/mainThreadTunnelService.js +10 -10
- package/vscode/src/vs/workbench/api/browser/mainThreadUriOpeners.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadUrls.js +1 -1
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewManager.js +2 -2
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewPanels.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviewViews.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadWebviews.js +8 -8
- package/vscode/src/vs/workbench/api/browser/mainThreadWindow.js +4 -4
- package/vscode/src/vs/workbench/api/browser/mainThreadWorkspace.js +13 -13
- package/vscode/src/vs/workbench/api/common/shared/dataTransferCache.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadRangeDecorator.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +27 -27
- package/vscode/src/vs/workbench/contrib/comments/browser/comments.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +30 -30
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsFilterOptions.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +41 -41
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +38 -38
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/customTextEditorModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/contributedOpeners.js +2 -2
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +7 -7
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveHistoryService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.js +11 -11
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.js +28 -28
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerFileSystemProvider.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.js +38 -38
- package/vscode/src/vs/workbench/services/extensions/common/extensionDevOptions.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.js +16 -16
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionStorageMigration.js +8 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.js +4 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensionsUtil.js +2 -2
- package/vscode/src/vs/workbench/services/extensions/common/lazyCreateExtensionHostManager.js +5 -5
- package/vscode/src/vs/workbench/services/extensions/common/remoteExtensionHost.js +13 -13
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { URI } from '
|
|
2
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
3
3
|
import { MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
4
4
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
5
5
|
import '../../../../../../override/vs/platform/dialogs/common/dialogs.js';
|
|
6
|
-
import { Schemas } from '
|
|
6
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
7
7
|
import { IFileDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
8
8
|
|
|
9
9
|
var MainThreadDialogs_1;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { onUnexpectedError } from '
|
|
3
|
-
import { DisposableMap, dispose } from '
|
|
4
|
-
import { URI } from '
|
|
5
|
-
import { EditOperation } from '
|
|
6
|
-
import { Range } from '
|
|
7
|
-
import { IEditorWorkerService } from '
|
|
8
|
-
import { IModelService } from '
|
|
9
|
-
import { ILanguageService } from '
|
|
10
|
-
import { ITextModelService } from '
|
|
2
|
+
import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
3
|
+
import { DisposableMap, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
+
import { EditOperation } from 'vscode/vscode/vs/editor/common/core/editOperation';
|
|
6
|
+
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
7
|
+
import { IEditorWorkerService } from 'vscode/vscode/vs/editor/common/services/editorWorker';
|
|
8
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
9
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
10
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
11
11
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
12
12
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
13
|
-
import { CancellationTokenSource } from '
|
|
13
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
14
14
|
|
|
15
15
|
let MainThreadDocumentContentProviders = class MainThreadDocumentContentProviders {
|
|
16
16
|
constructor(extHostContext, _textModelResolverService, _languageService, _modelService, _editorWorkerService) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { toErrorMessage } from '
|
|
3
|
-
import { Disposable, dispose } from '
|
|
4
|
-
import { Schemas } from '
|
|
5
|
-
import { URI } from '
|
|
6
|
-
import { shouldSynchronizeModel } from '
|
|
7
|
-
import { IModelService } from '
|
|
8
|
-
import { ITextModelService } from '
|
|
9
|
-
import { IFileService } from '
|
|
2
|
+
import { toErrorMessage } from 'vscode/vscode/vs/base/common/errorMessage';
|
|
3
|
+
import { Disposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
5
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
6
|
+
import { shouldSynchronizeModel } from 'vscode/vscode/vs/editor/common/model';
|
|
7
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
8
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
9
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
10
10
|
import { ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
11
11
|
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
12
12
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
13
|
-
import { extUri, toLocalResource } from '
|
|
13
|
+
import { extUri, toLocalResource } from 'vscode/vscode/vs/base/common/resources';
|
|
14
14
|
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
15
|
-
import { IUriIdentityService } from '
|
|
16
|
-
import { Emitter, Event } from '
|
|
15
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
16
|
+
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
17
17
|
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
|
|
18
|
-
import { ResourceMap } from '
|
|
19
|
-
import { ErrorNoTelemetry } from '
|
|
18
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
19
|
+
import { ErrorNoTelemetry } from 'vscode/vscode/vs/base/common/errors';
|
|
20
20
|
|
|
21
21
|
class BoundModelReferenceCollection {
|
|
22
22
|
constructor(_extUri, _maxAge = 1000 * 60 * 3,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Event } from '
|
|
3
|
-
import { DisposableStore, DisposableMap, combinedDisposable } from '
|
|
4
|
-
import { isCodeEditor, isDiffEditor } from '
|
|
5
|
-
import { ICodeEditorService } from '
|
|
6
|
-
import { shouldSynchronizeModel } from '
|
|
7
|
-
import { IModelService } from '
|
|
8
|
-
import { ITextModelService } from '
|
|
9
|
-
import { IFileService } from '
|
|
2
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
3
|
+
import { DisposableStore, DisposableMap, combinedDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { isCodeEditor, isDiffEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
5
|
+
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
6
|
+
import { shouldSynchronizeModel } from 'vscode/vscode/vs/editor/common/model';
|
|
7
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
8
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
9
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
10
10
|
import { extHostCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
11
11
|
import { MainThreadDocuments } from './mainThreadDocuments.js';
|
|
12
12
|
import { MainThreadTextEditor } from './mainThreadEditor.js';
|
|
@@ -19,12 +19,12 @@ import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor
|
|
|
19
19
|
import { ITextFileService } from 'vscode/vscode/vs/workbench/services/textfile/common/textfiles';
|
|
20
20
|
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
21
21
|
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
22
|
-
import { IUriIdentityService } from '
|
|
23
|
-
import { IClipboardService } from '
|
|
22
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
23
|
+
import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
|
|
24
24
|
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
|
|
25
|
-
import { diffSets, diffMaps } from '
|
|
25
|
+
import { diffSets, diffMaps } from 'vscode/vscode/vs/base/common/collections';
|
|
26
26
|
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite';
|
|
27
|
-
import { IConfigurationService } from '
|
|
27
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
28
28
|
|
|
29
29
|
class TextEditorSnapshot {
|
|
30
30
|
constructor(editor) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable } from '
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import { MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
4
4
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
5
5
|
import { IDownloadService } from 'vscode/vscode/vs/platform/download/common/download';
|
|
6
|
-
import { URI } from '
|
|
6
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
7
7
|
|
|
8
8
|
let MainThreadDownloadService = class MainThreadDownloadService extends Disposable {
|
|
9
9
|
constructor(extHostContext, downloadService) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { IInstantiationService } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
4
4
|
import { extHostCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
5
|
-
import { raceCancellationError } from '
|
|
5
|
+
import { raceCancellationError } from 'vscode/vscode/vs/base/common/async';
|
|
6
6
|
import { IEditSessionIdentityService } from 'vscode/vscode/vs/platform/workspace/common/editSessions';
|
|
7
7
|
import { ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Emitter } from '
|
|
2
|
-
import { DisposableStore } from '
|
|
3
|
-
import { cursorStyleToString, TextEditorCursorStyle } from '
|
|
4
|
-
import { Range } from '
|
|
5
|
-
import { Selection } from '
|
|
6
|
-
import { SnippetController2 } from '
|
|
1
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
2
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { cursorStyleToString, TextEditorCursorStyle } from 'vscode/vscode/vs/editor/common/config/editorOptions';
|
|
4
|
+
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
5
|
+
import { Selection } from 'vscode/vscode/vs/editor/common/core/selection';
|
|
6
|
+
import { SnippetController2 } from 'vscode/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
7
7
|
import { TextEditorRevealType } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
8
|
-
import { equals } from '
|
|
9
|
-
import { EditorState } from '
|
|
10
|
-
import { SnippetParser } from '
|
|
8
|
+
import { equals } from 'vscode/vscode/vs/base/common/arrays';
|
|
9
|
+
import { EditorState } from 'vscode/vscode/vs/editor/contrib/editorState/browser/editorState';
|
|
10
|
+
import { SnippetParser } from 'vscode/vscode/vs/editor/contrib/snippet/browser/snippetParser';
|
|
11
11
|
|
|
12
12
|
class MainThreadTextEditorProperties {
|
|
13
13
|
static readFromEditor(previousProperties, model, codeEditor) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { DisposableStore } from '
|
|
2
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
4
4
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
5
5
|
import { EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
|
|
@@ -10,16 +10,16 @@ import { IEditorService, SIDE_GROUP } from 'vscode/vscode/vs/workbench/services/
|
|
|
10
10
|
import { AbstractTextResourceEditorInput } from 'vscode/vscode/vs/workbench/common/editor/textResourceEditorInput';
|
|
11
11
|
import { NotebookEditorInput } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
12
12
|
import { CustomEditorInput } from 'vscode/vscode/vs/workbench/contrib/customEditor/browser/customEditorInput';
|
|
13
|
-
import { URI } from '
|
|
13
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
14
14
|
import { WebviewInput } from 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput';
|
|
15
15
|
import { TerminalEditorInput } from 'vscode/vscode/vs/workbench/contrib/terminal/browser/terminalEditorInput';
|
|
16
|
-
import { IConfigurationService } from '
|
|
16
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
17
17
|
import { SideBySideEditorInput } from 'vscode/vscode/vs/workbench/common/editor/sideBySideEditorInput';
|
|
18
|
-
import { isEqual } from '
|
|
18
|
+
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
19
19
|
import { isGroupEditorMoveEvent } from 'vscode/vscode/vs/workbench/common/editor/editorGroupModel';
|
|
20
20
|
import { InteractiveEditorInput } from '../../contrib/interactive/browser/interactiveEditorInput.js';
|
|
21
21
|
import { MergeEditorInput } from 'vscode/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput';
|
|
22
|
-
import { ILogService } from '
|
|
22
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
23
23
|
import { ChatEditorInput } from 'vscode/vscode/vs/workbench/contrib/chat/browser/chatEditorInput';
|
|
24
24
|
|
|
25
25
|
let MainThreadEditorTabs = class MainThreadEditorTabs {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { illegalArgument } from '
|
|
3
|
-
import { DisposableStore, dispose } from '
|
|
4
|
-
import { equals } from '
|
|
5
|
-
import { URI } from '
|
|
6
|
-
import { ICodeEditorService } from '
|
|
7
|
-
import { CommandsRegistry } from '
|
|
8
|
-
import { EditorActivation, EditorResolution } from '
|
|
2
|
+
import { illegalArgument } from 'vscode/vscode/vs/base/common/errors';
|
|
3
|
+
import { DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { equals } from 'vscode/vscode/vs/base/common/objects';
|
|
5
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
6
|
+
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
7
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
8
|
+
import { EditorActivation, EditorResolution } from 'vscode/vscode/vs/platform/editor/common/editor';
|
|
9
9
|
import { ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
10
10
|
import { editorGroupToColumn, columnToEditorGroup } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupColumn';
|
|
11
11
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
12
12
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
13
|
-
import { IEnvironmentService } from '
|
|
13
|
+
import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment';
|
|
14
14
|
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
15
|
-
import { getCodeEditor } from '
|
|
16
|
-
import { IConfigurationService } from '
|
|
15
|
+
import { getCodeEditor } from 'vscode/vscode/vs/editor/browser/editorBrowser';
|
|
16
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
17
17
|
|
|
18
18
|
var MainThreadTextEditors_1;
|
|
19
19
|
let MainThreadTextEditors = class MainThreadTextEditors {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { ErrorNoTelemetry, onUnexpectedError } from '
|
|
2
|
+
import { ErrorNoTelemetry, onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
3
3
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
4
4
|
import { MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Action } from '
|
|
3
|
-
import { CancellationToken } from '
|
|
4
|
-
import { FileAccess } from '
|
|
5
|
-
import Severity from '
|
|
6
|
-
import { URI } from '
|
|
7
|
-
import { localizeWithPath } from '
|
|
8
|
-
import { ICommandService } from '
|
|
2
|
+
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
3
|
+
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
4
|
+
import { FileAccess } from 'vscode/vscode/vs/base/common/network';
|
|
5
|
+
import Severity from 'vscode/vscode/vs/base/common/severity';
|
|
6
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
7
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
8
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
9
9
|
import { areSameExtensions } from 'vscode/vscode/vs/platform/extensionManagement/common/extensionManagementUtil';
|
|
10
|
-
import { INotificationService } from '
|
|
10
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
11
11
|
import { WebSocketRemoteConnection, ManagedRemoteConnection } from 'vscode/vscode/vs/platform/remote/common/remoteAuthorityResolver';
|
|
12
12
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
13
13
|
import { IExtensionsWorkbenchService } from 'vscode/vscode/vs/workbench/contrib/extensions/common/extensions';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Emitter, Event } from '
|
|
3
|
-
import { DisposableMap, DisposableStore, toDisposable } from '
|
|
4
|
-
import { URI } from '
|
|
5
|
-
import { IFileService, FilePermission, FileSystemProviderErrorCode, FileType, FileOperationError, toFileSystemProviderErrorCode } from '
|
|
2
|
+
import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
3
|
+
import { DisposableMap, DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
+
import { IFileService, FilePermission, FileSystemProviderErrorCode, FileType, FileOperationError, toFileSystemProviderErrorCode } from 'vscode/vscode/vs/platform/files/common/files';
|
|
6
6
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
7
7
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
8
|
-
import { VSBuffer } from '
|
|
8
|
+
import { VSBuffer } from 'vscode/vscode/vs/base/common/buffer';
|
|
9
9
|
|
|
10
10
|
var MainThreadFileSystem_1;
|
|
11
11
|
let MainThreadFileSystem = MainThreadFileSystem_1 = class MainThreadFileSystem {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { DisposableStore, DisposableMap } from '
|
|
3
|
-
import { IFileService } from '
|
|
2
|
+
import { DisposableStore, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
4
4
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
5
5
|
import { ExtHostContext, MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
6
|
-
import { localizeWithPath } from '
|
|
6
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
7
7
|
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
8
|
-
import { IBulkEditService } from '
|
|
9
|
-
import { IProgressService } from '
|
|
10
|
-
import { raceCancellation } from '
|
|
11
|
-
import { CancellationTokenSource } from '
|
|
8
|
+
import { IBulkEditService } from 'vscode/vscode/vs/editor/browser/services/bulkEditService';
|
|
9
|
+
import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
10
|
+
import { raceCancellation } from 'vscode/vscode/vs/base/common/async';
|
|
11
|
+
import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
|
|
12
12
|
import '../../../../../../override/vs/platform/dialogs/common/dialogs.js';
|
|
13
|
-
import Severity from '
|
|
14
|
-
import { IStorageService } from '
|
|
15
|
-
import { registerAction2, Action2 } from '
|
|
16
|
-
import { ILogService } from '
|
|
17
|
-
import { IEnvironmentService } from '
|
|
18
|
-
import { IUriIdentityService } from '
|
|
13
|
+
import Severity from 'vscode/vscode/vs/base/common/severity';
|
|
14
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
15
|
+
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
16
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
17
|
+
import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment';
|
|
18
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
19
19
|
import { reviveWorkspaceEditDto } from './mainThreadBulkEdits.js';
|
|
20
|
-
import { GLOBSTAR } from '
|
|
21
|
-
import { rtrim } from '
|
|
22
|
-
import { URI } from '
|
|
23
|
-
import { IConfigurationService } from '
|
|
20
|
+
import { GLOBSTAR } from 'vscode/vscode/vs/base/common/glob';
|
|
21
|
+
import { rtrim } from 'vscode/vscode/vs/base/common/strings';
|
|
22
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
23
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
24
24
|
import { normalizeWatcherPattern } from 'vscode/vscode/vs/platform/files/common/watcher';
|
|
25
|
-
import { IWorkspaceContextService } from '
|
|
25
|
+
import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
|
|
26
26
|
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
27
27
|
|
|
28
28
|
var MainThreadFileSystemEventService_1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { DisposableMap } from '
|
|
2
|
+
import { DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import { IInlineChatService } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
4
|
-
import { IUriIdentityService } from '
|
|
4
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
5
5
|
import { reviveWorkspaceEditDto } from './mainThreadBulkEdits.js';
|
|
6
6
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
7
7
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { DisposableStore } from '
|
|
3
|
-
import { PLAINTEXT_LANGUAGE_ID } from '
|
|
2
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { PLAINTEXT_LANGUAGE_ID } from 'vscode/vscode/vs/editor/common/languages/modesRegistry';
|
|
4
4
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
5
5
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
6
6
|
import { IInteractiveDocumentService } from 'vscode/vscode/vs/workbench/contrib/interactive/browser/interactiveDocumentService';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable, DisposableMap } from '
|
|
3
|
-
import { URI } from '
|
|
2
|
+
import { Disposable, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
4
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
5
5
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
6
6
|
import { IWorkbenchIssueService } from 'vscode/vscode/vs/workbench/services/issue/common/issue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable, DisposableMap } from '
|
|
3
|
-
import { ILabelService } from '
|
|
2
|
+
import { Disposable, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
4
4
|
import { MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
5
5
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
6
6
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { VSDataTransfer, createStringDataTransferItem } from '
|
|
3
|
-
import { CancellationError } from '
|
|
4
|
-
import { Emitter } from '
|
|
5
|
-
import { Disposable, DisposableMap, combinedDisposable, toDisposable } from '
|
|
6
|
-
import { revive } from '
|
|
7
|
-
import { mixin } from '
|
|
8
|
-
import { URI } from '
|
|
9
|
-
import { ILanguageService } from '
|
|
10
|
-
import { ILanguageConfigurationService } from '
|
|
11
|
-
import { ILanguageFeaturesService } from '
|
|
12
|
-
import { decodeSemanticTokensDto } from '
|
|
13
|
-
import { IUriIdentityService } from '
|
|
2
|
+
import { VSDataTransfer, createStringDataTransferItem } from 'vscode/vscode/vs/base/common/dataTransfer';
|
|
3
|
+
import { CancellationError } from 'vscode/vscode/vs/base/common/errors';
|
|
4
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
+
import { Disposable, DisposableMap, combinedDisposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
6
|
+
import { revive } from 'vscode/vscode/vs/base/common/marshalling';
|
|
7
|
+
import { mixin } from 'vscode/vscode/vs/base/common/objects';
|
|
8
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
9
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
10
|
+
import { ILanguageConfigurationService } from 'vscode/vscode/vs/editor/common/languages/languageConfigurationRegistry';
|
|
11
|
+
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
12
|
+
import { decodeSemanticTokensDto } from 'vscode/vscode/vs/editor/common/services/semanticTokensDto';
|
|
13
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
14
14
|
import { reviveWorkspaceEditDto } from './mainThreadBulkEdits.js';
|
|
15
15
|
import { DataTransfer } from 'vscode/vscode/vs/workbench/api/common/extHostTypeConverters';
|
|
16
16
|
import { DataTransferFileCache } from '../common/shared/dataTransferCache.js';
|
|
@@ -19,8 +19,8 @@ import { WorkspaceSymbolProviderRegistry } from 'vscode/vscode/vs/workbench/cont
|
|
|
19
19
|
import { TypeHierarchyProviderRegistry } from 'vscode/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy';
|
|
20
20
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
21
21
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
22
|
-
import { ResourceMap } from '
|
|
23
|
-
import { isFalsyOrEmpty } from '
|
|
22
|
+
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
23
|
+
import { isFalsyOrEmpty } from 'vscode/vscode/vs/base/common/arrays';
|
|
24
24
|
|
|
25
25
|
var MainThreadLanguageFeatures_1;
|
|
26
26
|
let MainThreadLanguageFeatures = MainThreadLanguageFeatures_1 = class MainThreadLanguageFeatures extends Disposable {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { URI } from '
|
|
3
|
-
import { ILanguageService } from '
|
|
4
|
-
import { IModelService } from '
|
|
2
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
3
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
4
|
+
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
5
5
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
6
6
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
7
|
-
import { Range } from '
|
|
8
|
-
import { ITextModelService } from '
|
|
7
|
+
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
8
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
9
9
|
import { ILanguageStatusService } from 'vscode/vscode/vs/workbench/services/languageStatus/common/languageStatusService';
|
|
10
|
-
import { DisposableStore, DisposableMap } from '
|
|
10
|
+
import { DisposableStore, DisposableMap } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
11
11
|
|
|
12
12
|
let MainThreadLanguages = class MainThreadLanguages {
|
|
13
13
|
constructor(_extHostContext, _languageService, _modelService, _resolverService, _languageStatusService) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
3
3
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
4
|
-
import { URI } from '
|
|
5
|
-
import { IFileService } from '
|
|
6
|
-
import { Disposable } from '
|
|
4
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
5
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
6
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
7
|
import { ILanguagePackService } from 'vscode/vscode/vs/platform/languagePacks/common/languagePacks';
|
|
8
8
|
|
|
9
9
|
let MainThreadLocalization = class MainThreadLocalization extends Disposable {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
2
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
3
|
-
import { ILoggerService, parseLogLevel, ILogService, LogLevelToString, isLogLevel, log } from '
|
|
4
|
-
import { DisposableStore } from '
|
|
3
|
+
import { ILoggerService, parseLogLevel, ILogService, LogLevelToString, isLogLevel, log } from 'vscode/vscode/vs/platform/log/common/log';
|
|
4
|
+
import { DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
6
|
-
import { URI } from '
|
|
7
|
-
import { CommandsRegistry } from '
|
|
8
|
-
import { IEnvironmentService } from '
|
|
6
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
7
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
8
|
+
import { IEnvironmentService } from 'vscode/vscode/vs/platform/environment/common/environment';
|
|
9
9
|
|
|
10
10
|
let MainThreadLoggerService = class MainThreadLoggerService {
|
|
11
11
|
constructor(extHostContext, loggerService) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Emitter } from '
|
|
3
|
-
import { Disposable } from '
|
|
2
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { ManagedSocket, connectManagedSocket } from '../../../platform/remote/common/managedSocket.js';
|
|
5
5
|
import { IRemoteSocketFactoryService } from 'vscode/vscode/vs/platform/remote/common/remoteSocketFactoryService';
|
|
6
6
|
import { MainContext, ExtHostContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import
|
|
3
|
-
import { toAction } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { toAction } from 'vscode/vscode/vs/base/common/actions';
|
|
4
4
|
import { MainContext } from 'vscode/vscode/vs/workbench/api/common/extHost.protocol';
|
|
5
5
|
import { extHostNamedCustomer } from '../../services/extensions/common/extHostCustomers.js';
|
|
6
6
|
import '../../../../../../override/vs/platform/dialogs/common/dialogs.js';
|
|
7
|
-
import { INotificationService } from '
|
|
8
|
-
import { Event } from '
|
|
7
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
8
|
+
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
9
9
|
import { IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
10
10
|
|
|
11
11
|
let MainThreadMessageService = class MainThreadMessageService {
|
|
@@ -37,7 +37,7 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
37
37
|
let source;
|
|
38
38
|
if (options.source) {
|
|
39
39
|
source = {
|
|
40
|
-
label: (
|
|
40
|
+
label: ( localizeWithPath(
|
|
41
41
|
'vs/workbench/api/browser/mainThreadMessageService',
|
|
42
42
|
'extensionSource',
|
|
43
43
|
"{0} (Extension)",
|
|
@@ -47,7 +47,7 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
if (!source) {
|
|
50
|
-
source = (
|
|
50
|
+
source = ( localizeWithPath(
|
|
51
51
|
'vs/workbench/api/browser/mainThreadMessageService',
|
|
52
52
|
'defaultSource',
|
|
53
53
|
"Extension"
|
|
@@ -83,13 +83,13 @@ let MainThreadMessageService = class MainThreadMessageService {
|
|
|
83
83
|
if (!cancelButton) {
|
|
84
84
|
if (buttons.length > 0) {
|
|
85
85
|
cancelButton = {
|
|
86
|
-
label: (
|
|
86
|
+
label: ( localizeWithPath('vs/workbench/api/browser/mainThreadMessageService', 'cancel', "Cancel")),
|
|
87
87
|
run: () => undefined
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
91
91
|
cancelButton = {
|
|
92
|
-
label: (
|
|
92
|
+
label: ( localizeWithPath(
|
|
93
93
|
'vs/workbench/api/browser/mainThreadMessageService',
|
|
94
94
|
{ key: 'ok', comment: ['&& denotes a mnemonic'] },
|
|
95
95
|
"&&OK"
|