@codingame/monaco-vscode-notebook-service-override 4.4.0 → 4.5.0-improve-code-splitting.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/notebook.js +14 -13
- package/package.json +7 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +5 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +6 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +15 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +11 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +12 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +10 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +11 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +10 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +9 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +5 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +8 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +12 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +2 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +17 -18
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +13 -13
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +3 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +5 -5
- package/override/vs/platform/dialogs/common/dialogs.js +0 -10
package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { ILoggerService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
4
|
+
import { ILoggerService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
5
5
|
|
|
6
6
|
const logChannelId = 'notebook.rendering';
|
|
7
7
|
let NotebookLoggingService = class NotebookLoggingService extends Disposable {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
3
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
4
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
5
5
|
|
|
6
6
|
let NotebookRendererMessagingService = class NotebookRendererMessagingService extends Disposable {
|
|
7
7
|
constructor(extensionService) {
|
|
@@ -11,26 +11,28 @@ import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
|
11
11
|
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
12
12
|
import { isDefined } from 'vscode/vscode/vs/base/common/types';
|
|
13
13
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
14
|
-
import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
|
|
15
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
16
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
14
|
+
import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility.service';
|
|
15
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
16
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
17
17
|
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
18
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
18
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
19
19
|
import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
|
|
20
20
|
import { notebooksExtensionPoint, notebookRendererExtensionPoint, notebookPreloadExtensionPoint } from '../notebookExtensionPoint.js';
|
|
21
21
|
import { NotebookDiffEditorInput } from '../../common/notebookDiffEditorInput.js';
|
|
22
22
|
import { NotebookTextModel } from '../../common/model/notebookTextModel.js';
|
|
23
|
-
import { NotebookEditorPriority, NotebookSetting,
|
|
23
|
+
import { NotebookEditorPriority, NotebookSetting, CellUri, RENDERER_EQUIVALENT_EXTENSIONS, RENDERER_NOT_AVAILABLE, MimeTypeDisplayOrder, ACCESSIBLE_NOTEBOOK_DISPLAY_ORDER, NOTEBOOK_DISPLAY_ORDER } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
24
24
|
import { NotebookEditorInput } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
25
|
-
import { INotebookEditorModelResolverService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService';
|
|
25
|
+
import { INotebookEditorModelResolverService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
|
|
26
26
|
import { NotebookOutputRendererInfo, NotebookStaticPreloadInfo } from '../../common/notebookOutputRenderer.js';
|
|
27
27
|
import { NotebookProviderInfo } from '../../common/notebookProvider.js';
|
|
28
28
|
import { SimpleNotebookProviderInfo } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
|
29
|
-
import { RegisteredEditorPriority
|
|
30
|
-
import {
|
|
29
|
+
import { RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
|
|
30
|
+
import { IEditorResolverService } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService.service';
|
|
31
|
+
import { isProposedApiEnabled } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
32
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
31
33
|
import { InstallRecommendedExtensionAction } from 'vscode/vscode/vs/workbench/contrib/extensions/browser/extensionsActions';
|
|
32
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
33
|
-
import { INotebookDocumentService } from 'vscode/vscode/vs/workbench/services/notebook/common/notebookDocumentService';
|
|
34
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
35
|
+
import { INotebookDocumentService } from 'vscode/vscode/vs/workbench/services/notebook/common/notebookDocumentService.service';
|
|
34
36
|
|
|
35
37
|
var NotebookProviderInfoStore_1, NotebookService_1;
|
|
36
38
|
let NotebookProviderInfoStore = class NotebookProviderInfoStore extends Disposable {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Disposable, DisposableStore, toDisposable, dispose } from 'vscode/vscod
|
|
|
3
3
|
import { SimpleWorkerClient } from 'vscode/vscode/vs/base/common/worker/simpleWorker';
|
|
4
4
|
import { DefaultWorkerFactory } from 'vscode/vscode/vs/base/browser/defaultWorkerFactory';
|
|
5
5
|
import { NotebookCellsChangeType } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
-
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
|
6
|
+
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
7
7
|
|
|
8
8
|
let NotebookEditorWorkerServiceImpl = class NotebookEditorWorkerServiceImpl extends Disposable {
|
|
9
9
|
constructor(notebookService) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { PauseableEmitter, Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
3
|
import { Disposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { NotebookCellTextModel } from 'vscode/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
|
|
5
5
|
import { CellUri, NotebookCellsChangeType, CellKind, diff } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
-
import { IUndoRedoService } from 'vscode/vscode/vs/platform/undoRedo/common/undoRedo';
|
|
6
|
+
import { IUndoRedoService } from 'vscode/vscode/vs/platform/undoRedo/common/undoRedo.service';
|
|
7
7
|
import { SpliceCellsEdit, CellMetadataEdit, MoveCellEdit } from './cellEdit.js';
|
|
8
8
|
import { LcsDiff } from 'vscode/vscode/vs/base/common/diff/diff';
|
|
9
9
|
import { hash } from 'vscode/vscode/vs/base/common/hash';
|
|
@@ -3,7 +3,7 @@ import { isResourceDiffEditorInput } from 'vscode/vscode/vs/workbench/common/edi
|
|
|
3
3
|
import { EditorModel } from 'vscode/vscode/vs/workbench/common/editor/editorModel';
|
|
4
4
|
import { DiffEditorInput } from 'vscode/vscode/vs/workbench/common/editor/diffEditorInput';
|
|
5
5
|
import { NotebookEditorInput } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
6
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
6
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
7
7
|
|
|
8
8
|
var NotebookDiffEditorInput_1;
|
|
9
9
|
class NotebookDiffEditorModel extends EditorModel {
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js
CHANGED
|
@@ -4,18 +4,18 @@ import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
|
4
4
|
import { NotebookWorkingCopyTypeIdentifier, NotebookSetting, CellUri } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
5
5
|
import { NotebookFileWorkingCopyModelFactory, SimpleNotebookEditorModel } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
|
|
6
6
|
import { ReferenceCollection, DisposableStore, dispose, combinedDisposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
|
8
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
7
|
+
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
8
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
9
9
|
import { Emitter, AsyncEmitter } from 'vscode/vscode/vs/base/common/event';
|
|
10
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions';
|
|
11
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
10
|
+
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
11
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
12
12
|
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
13
13
|
import { FileWorkingCopyManager } from '../../../services/workingCopy/common/fileWorkingCopyManager.js';
|
|
14
14
|
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
15
15
|
import { NotebookProviderInfo } from './notebookProvider.js';
|
|
16
16
|
import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
|
|
17
17
|
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
18
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
18
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
19
19
|
|
|
20
20
|
let NotebookModelReferenceCollection = class NotebookModelReferenceCollection extends ReferenceCollection {
|
|
21
21
|
constructor(_instantiationService, _notebookService, _logService, _configurationService) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LcsDiff } from 'vscode/vscode/vs/base/common/diff/diff';
|
|
2
|
-
import {
|
|
2
|
+
import { numberHash, doHash, hash } from 'vscode/vscode/vs/base/common/hash';
|
|
3
3
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
4
4
|
import { PieceTreeTextBufferBuilder } from 'vscode/vscode/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder';
|
|
5
|
-
import {
|
|
5
|
+
import { NotebookCellsChangeType, CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
6
|
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
7
7
|
import { SearchParams } from 'vscode/vscode/vs/editor/common/model/textModelSearch';
|
|
8
8
|
|
package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js
CHANGED
|
@@ -3,9 +3,9 @@ import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
|
3
3
|
import { Disposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
4
|
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
5
5
|
import { Promises } from 'vscode/vscode/vs/base/common/async';
|
|
6
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
7
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
8
|
-
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
6
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
7
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
8
|
+
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
9
9
|
|
|
10
10
|
let BaseFileWorkingCopyManager = class BaseFileWorkingCopyManager extends Disposable {
|
|
11
11
|
constructor(fileService, logService, workingCopyBackupService) {
|
|
@@ -6,28 +6,28 @@ import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
|
6
6
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
7
|
import { isEqual, toLocalResource, basename, dirname, joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
8
8
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
9
|
-
import '
|
|
10
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
9
|
+
import { IFileDialogService, IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs.service';
|
|
10
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
11
11
|
import { SaveSourceRegistry } from 'vscode/vscode/vs/workbench/common/editor';
|
|
12
|
-
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService';
|
|
13
|
-
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService';
|
|
14
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
12
|
+
import { IWorkbenchEnvironmentService } from 'vscode/vscode/vs/workbench/services/environment/common/environmentService.service';
|
|
13
|
+
import { IPathService } from 'vscode/vscode/vs/workbench/services/path/common/pathService.service';
|
|
14
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
15
15
|
import { StoredFileWorkingCopyManager } from './storedFileWorkingCopyManager.js';
|
|
16
16
|
import { UntitledFileWorkingCopy } from './untitledFileWorkingCopy.js';
|
|
17
17
|
import { UntitledFileWorkingCopyManager } from './untitledFileWorkingCopyManager.js';
|
|
18
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
19
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
20
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
21
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
22
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
23
|
-
import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService';
|
|
24
|
-
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
|
|
25
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
26
|
-
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
27
|
-
import { IWorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService';
|
|
28
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
18
|
+
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
19
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
20
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
21
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
22
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
23
|
+
import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
24
|
+
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
25
|
+
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
26
|
+
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
27
|
+
import { IWorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service';
|
|
28
|
+
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
29
29
|
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
30
|
-
import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations';
|
|
30
|
+
import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
31
31
|
import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
|
|
32
32
|
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
33
33
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
@@ -40,7 +40,6 @@ import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
|
40
40
|
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
41
41
|
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
42
42
|
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
43
|
-
import { IFileDialogService, IDialogService } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
44
43
|
|
|
45
44
|
var FileWorkingCopyManager_1;
|
|
46
45
|
let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
|
|
@@ -5,23 +5,23 @@ import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
|
|
|
5
5
|
import { StoredFileWorkingCopy } from 'vscode/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
|
|
6
6
|
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
7
7
|
import { ResourceQueue, Promises } from 'vscode/vscode/vs/base/common/async';
|
|
8
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
9
|
-
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
8
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
9
|
+
import { ILifecycleService } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle.service';
|
|
10
10
|
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
11
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
12
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
11
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
12
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
13
13
|
import { joinPath } from 'vscode/vscode/vs/base/common/resources';
|
|
14
|
-
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService';
|
|
15
|
-
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
|
|
14
|
+
import { IWorkingCopyFileService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
|
|
15
|
+
import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
|
|
16
16
|
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
17
|
-
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
17
|
+
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
18
18
|
import { BaseFileWorkingCopyManager } from './abstractFileWorkingCopyManager.js';
|
|
19
|
-
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification';
|
|
20
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
21
|
-
import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService';
|
|
22
|
-
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService';
|
|
23
|
-
import { IWorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService';
|
|
24
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
19
|
+
import { INotificationService } from 'vscode/vscode/vs/platform/notification/common/notification.service';
|
|
20
|
+
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
21
|
+
import { IElevatedFileService } from 'vscode/vscode/vs/workbench/services/files/common/elevatedFileService.service';
|
|
22
|
+
import { IFilesConfigurationService } from 'vscode/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service';
|
|
23
|
+
import { IWorkingCopyEditorService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service';
|
|
24
|
+
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
25
25
|
import { isWeb } from 'vscode/vscode/vs/base/common/platform';
|
|
26
26
|
import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
|
|
27
27
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
2
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
3
3
|
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
4
|
+
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
5
5
|
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
6
6
|
import { raceCancellation } from 'vscode/vscode/vs/base/common/async';
|
|
7
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
8
|
-
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
7
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
8
|
+
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
9
9
|
import { emptyStream } from 'vscode/vscode/vs/base/common/stream';
|
|
10
10
|
|
|
11
11
|
let UntitledFileWorkingCopy = class UntitledFileWorkingCopy extends Disposable {
|
package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js
CHANGED
|
@@ -4,11 +4,11 @@ import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
|
4
4
|
import { UntitledFileWorkingCopy } from './untitledFileWorkingCopy.js';
|
|
5
5
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
6
6
|
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
7
|
-
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService';
|
|
8
|
-
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
|
|
9
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
10
|
-
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup';
|
|
11
|
-
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
|
|
7
|
+
import { IWorkingCopyService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
|
|
8
|
+
import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label.service';
|
|
9
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
10
|
+
import { IWorkingCopyBackupService } from 'vscode/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service';
|
|
11
|
+
import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.service';
|
|
12
12
|
import { BaseFileWorkingCopyManager } from './abstractFileWorkingCopyManager.js';
|
|
13
13
|
import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
|
|
14
14
|
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { AbstractDialogHandler, IDialogService, IFileDialogService, getFileNamesMessage } from 'vscode/vscode/vs/platform/dialogs/common/dialogs';
|
|
2
|
-
|
|
3
|
-
var ConfirmResult;
|
|
4
|
-
( (function(ConfirmResult) {
|
|
5
|
-
ConfirmResult[ConfirmResult["SAVE"] = 0] = "SAVE";
|
|
6
|
-
ConfirmResult[ConfirmResult["DONT_SAVE"] = 1] = "DONT_SAVE";
|
|
7
|
-
ConfirmResult[ConfirmResult["CANCEL"] = 2] = "CANCEL";
|
|
8
|
-
})(ConfirmResult || (ConfirmResult = {})));
|
|
9
|
-
|
|
10
|
-
export { ConfirmResult };
|