@codingame/monaco-vscode-notebook-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/notebook.js +1 -1
- package/package.json +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/notebookVisibleCellObserver.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +15 -15
- 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 +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +23 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +47 -47
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +52 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +85 -85
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookCellStatusBarServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +6 -6
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +15 -15
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +15 -15
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +8 -8
- package/workers/notebook.worker.js +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { CancellationToken } from '
|
|
4
|
-
import { DisposableStore, Disposable } from '
|
|
5
|
-
import { registerEditorAction, EditorAction } from '
|
|
6
|
-
import { IBulkEditService, ResourceTextEdit } from '
|
|
7
|
-
import { EditorContextKeys } from '
|
|
8
|
-
import { IEditorWorkerService } from '
|
|
9
|
-
import { ILanguageFeaturesService } from '
|
|
10
|
-
import { ITextModelService } from '
|
|
11
|
-
import { getDocumentFormattingEditsUntilResult, formatDocumentWithSelectedProvider } from '
|
|
12
|
-
import { registerAction2, Action2, MenuId } from '
|
|
13
|
-
import { ContextKeyExpr } from '
|
|
14
|
-
import { IInstantiationService } from '
|
|
15
|
-
import { Progress } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
4
|
+
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { registerEditorAction, EditorAction } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
6
|
+
import { IBulkEditService, ResourceTextEdit } from 'vscode/vscode/vs/editor/browser/services/bulkEditService';
|
|
7
|
+
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
8
|
+
import { IEditorWorkerService } from 'vscode/vscode/vs/editor/common/services/editorWorker';
|
|
9
|
+
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
10
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
11
|
+
import { getDocumentFormattingEditsUntilResult, formatDocumentWithSelectedProvider } from 'vscode/vscode/vs/editor/contrib/format/browser/format';
|
|
12
|
+
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
13
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
14
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
15
|
+
import { Progress } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
16
16
|
import { NOTEBOOK_ACTIONS_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
17
17
|
import { getNotebookEditorFromEditorPane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
18
18
|
import { NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_EDITABLE } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
19
19
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
20
20
|
import { INotebookExecutionService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionService';
|
|
21
21
|
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
22
|
-
import { IConfigurationService } from '
|
|
23
|
-
import { Registry } from '
|
|
22
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
23
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
24
24
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
25
25
|
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
|
26
26
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable } from '
|
|
3
|
-
import { localizeWithPath } from '
|
|
4
|
-
import { registerAction2, Action2 } from '
|
|
5
|
-
import { ICommandService } from '
|
|
6
|
-
import { IConfigurationService } from '
|
|
7
|
-
import { ContextKeyExpr, IContextKeyService } from '
|
|
8
|
-
import { Registry } from '
|
|
9
|
-
import { IStorageService } from '
|
|
10
|
-
import { Categories } from '
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
5
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
6
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
7
|
+
import { ContextKeyExpr, IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
9
|
+
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
10
|
+
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
11
11
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
12
12
|
import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
|
|
13
13
|
import { HAS_OPENED_NOTEBOOK } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable, DisposableStore } from '
|
|
3
|
-
import { Registry } from '
|
|
2
|
+
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
4
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
5
|
import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService';
|
|
6
6
|
import { INotebookLoggingService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookLoggingService';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { localizeWithPath } from '
|
|
2
|
-
import { registerAction2, Action2, MenuId } from '
|
|
3
|
-
import { IConfigurationService } from '
|
|
1
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
2
|
+
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
3
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
4
4
|
import { NOTEBOOK_ACTIONS_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
5
5
|
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
6
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Registry } from '
|
|
2
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
3
3
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
4
|
-
import { MarkerList, IMarkerNavigationService } from '
|
|
4
|
+
import { MarkerList, IMarkerNavigationService } from 'vscode/vscode/vs/editor/contrib/gotoError/browser/markerNavigationService';
|
|
5
5
|
import { CellUri } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
-
import { MarkerSeverity, IMarkerService } from '
|
|
7
|
-
import { IConfigurationService } from '
|
|
8
|
-
import { Disposable } from '
|
|
6
|
+
import { MarkerSeverity, IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
7
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
8
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
9
9
|
import { NotebookOverviewRulerLane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
10
10
|
import { registerNotebookContribution } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
11
|
-
import { throttle } from '
|
|
12
|
-
import { editorErrorForeground, editorWarningForeground } from '
|
|
13
|
-
import { isEqual } from '
|
|
11
|
+
import { throttle } from 'vscode/vscode/vs/base/common/decorators';
|
|
12
|
+
import { editorErrorForeground, editorWarningForeground } from 'vscode/vscode/vs/platform/theme/common/colorRegistry';
|
|
13
|
+
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
14
14
|
|
|
15
15
|
let MarkerListProvider = class MarkerListProvider {
|
|
16
16
|
constructor(_markerService, markerNavigation, _configService) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { timeout } from '
|
|
2
|
-
import { EditorExtensionsRegistry } from '
|
|
3
|
-
import { EditorContextKeys } from '
|
|
4
|
-
import { localizeWithPath } from '
|
|
5
|
-
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '
|
|
6
|
-
import { registerAction2 } from '
|
|
7
|
-
import { Extensions } from '
|
|
8
|
-
import { ContextKeyExpr } from '
|
|
9
|
-
import { InputFocusedContextKey } from '
|
|
10
|
-
import { Registry } from '
|
|
1
|
+
import { timeout } from 'vscode/vscode/vs/base/common/async';
|
|
2
|
+
import { EditorExtensionsRegistry } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
3
|
+
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
4
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
5
|
+
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
|
|
6
|
+
import { registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
8
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
|
+
import { InputFocusedContextKey } from 'vscode/vscode/vs/platform/contextkey/common/contextkeys';
|
|
10
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
11
11
|
import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
12
12
|
import { CTX_INLINE_CHAT_FOCUSED, CTX_INLINE_CHAT_INNER_CURSOR_LAST } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
13
13
|
import { NotebookCellAction, NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT, findTargetCellEditor, NotebookAction } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import
|
|
3
|
-
import { Disposable } from '
|
|
4
|
-
import { Registry } from '
|
|
2
|
+
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
5
5
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/views';
|
|
6
6
|
import { VIEWLET_ID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
7
|
-
import { ContextKeyExpr } from '
|
|
8
|
-
import { SyncDescriptor } from '
|
|
7
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
8
|
+
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
9
9
|
import { NotebookVariablesView } from './notebookVariablesView.js';
|
|
10
10
|
import { NOTEBOOK_KERNEL } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
11
11
|
import { variablesViewIcon } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
|
|
12
12
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
13
|
-
import { IConfigurationService } from '
|
|
13
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
14
14
|
|
|
15
15
|
let NotebookVariables = class NotebookVariables extends Disposable {
|
|
16
16
|
constructor(editorService, configurationService) {
|
|
@@ -30,7 +30,7 @@ let NotebookVariables = class NotebookVariables extends Disposable {
|
|
|
30
30
|
if (debugViewContainer) {
|
|
31
31
|
const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
|
|
32
32
|
const viewDescriptor = {
|
|
33
|
-
id: 'NOTEBOOK_VARIABLES', name: (
|
|
33
|
+
id: 'NOTEBOOK_VARIABLES', name: ( localize2WithPath(
|
|
34
34
|
'vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables',
|
|
35
35
|
'notebookVariables',
|
|
36
36
|
"Notebook Variables"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { localizeWithPath } from '
|
|
1
|
+
import { append, $ } from 'vscode/vscode/vs/base/browser/dom';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
3
|
|
|
4
4
|
class NotebookVariablesDelegate {
|
|
5
5
|
getHeight(element) {
|
|
@@ -15,7 +15,7 @@ class NotebookVariableRenderer {
|
|
|
15
15
|
return NotebookVariableRenderer.ID;
|
|
16
16
|
}
|
|
17
17
|
renderTemplate(container) {
|
|
18
|
-
const wrapper =
|
|
18
|
+
const wrapper = append(container, $('.variable'));
|
|
19
19
|
return { wrapper };
|
|
20
20
|
}
|
|
21
21
|
renderElement(element, index, templateData, height) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { CancellationToken } from '
|
|
3
|
-
import
|
|
4
|
-
import { ICommandService } from '
|
|
5
|
-
import { IConfigurationService } from '
|
|
6
|
-
import { IContextKeyService } from '
|
|
7
|
-
import { IContextMenuService } from '
|
|
8
|
-
import { IInstantiationService } from '
|
|
9
|
-
import { IKeybindingService } from '
|
|
10
|
-
import { WorkbenchObjectTree } from '
|
|
11
|
-
import { IOpenerService } from '
|
|
12
|
-
import { IQuickInputService } from '
|
|
13
|
-
import { ITelemetryService } from '
|
|
14
|
-
import { IThemeService } from '
|
|
2
|
+
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
3
|
+
import { localize2WithPath } from 'vscode/vscode/vs/nls';
|
|
4
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
5
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
6
|
+
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
7
|
+
import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
|
|
8
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
+
import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
|
|
10
|
+
import { WorkbenchObjectTree } from 'vscode/vscode/vs/platform/list/browser/listService';
|
|
11
|
+
import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
|
|
12
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
13
|
+
import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
|
|
14
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
15
15
|
import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
|
|
16
16
|
import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
|
|
17
17
|
import { NotebookVariablesDelegate, NotebookVariableRenderer, NotebookVariableAccessibilityProvider } from './notebookVariablesTree.js';
|
|
@@ -22,7 +22,7 @@ import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/commo
|
|
|
22
22
|
|
|
23
23
|
let NotebookVariablesView = class NotebookVariablesView extends ViewPane {
|
|
24
24
|
static { this.ID = 'notebookVariablesView'; }
|
|
25
|
-
static { this.TITLE = (
|
|
25
|
+
static { this.TITLE = ( localize2WithPath(
|
|
26
26
|
'vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView',
|
|
27
27
|
'notebook.notebookVariables',
|
|
28
28
|
"Notebook Variables"
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { IconLabel } from '
|
|
4
|
-
import { Emitter } from '
|
|
5
|
-
import { createMatches } from '
|
|
6
|
-
import { DisposableStore, Disposable, toDisposable } from '
|
|
7
|
-
import { ThemeIcon } from '
|
|
8
|
-
import { getIconClassesForLanguageId } from '
|
|
9
|
-
import { IConfigurationService } from '
|
|
10
|
-
import { Extensions as Extensions$1 } from '
|
|
11
|
-
import { IInstantiationService } from '
|
|
12
|
-
import { MarkerSeverity } from '
|
|
13
|
-
import { Registry } from '
|
|
14
|
-
import { listErrorForeground, listWarningForeground } from '
|
|
15
|
-
import { IThemeService } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { IconLabel } from 'vscode/vscode/vs/base/browser/ui/iconLabel/iconLabel';
|
|
4
|
+
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
5
|
+
import { createMatches } from 'vscode/vscode/vs/base/common/filters';
|
|
6
|
+
import { DisposableStore, Disposable, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
8
|
+
import { getIconClassesForLanguageId } from 'vscode/vscode/vs/editor/common/services/getIconClasses';
|
|
9
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
10
|
+
import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
11
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
12
|
+
import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
13
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
14
|
+
import { listErrorForeground, listWarningForeground } from 'vscode/vscode/vs/platform/theme/common/colorRegistry';
|
|
15
|
+
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
|
|
16
16
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
17
17
|
import { NotebookEditor } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
|
18
18
|
import { NotebookCellOutlineProvider } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider';
|
|
19
19
|
import { NotebookSetting, CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
20
20
|
import { SIDE_GROUP, IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
21
21
|
import { IOutlineService } from 'vscode/vscode/vs/workbench/services/outline/browser/outline';
|
|
22
|
-
import { Range } from '
|
|
23
|
-
import { mainWindow } from '
|
|
24
|
-
import { WindowIdleValue } from '
|
|
22
|
+
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
23
|
+
import { mainWindow } from 'vscode/vscode/vs/base/browser/window';
|
|
24
|
+
import { WindowIdleValue } from 'vscode/vscode/vs/base/browser/dom';
|
|
25
25
|
|
|
26
26
|
var NotebookCellOutline_1;
|
|
27
27
|
class NotebookOutlineTemplate {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable } from '
|
|
3
|
-
import { Registry } from '
|
|
4
|
-
import { localizeWithPath } from '
|
|
5
|
-
import { registerAction2, Action2 } from '
|
|
6
|
-
import { IConfigurationService } from '
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
5
|
+
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
6
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
7
7
|
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
8
8
|
import { IWorkbenchAssignmentService } from 'vscode/vscode/vs/workbench/services/assignment/common/assignmentService';
|
|
9
9
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { Disposable, DisposableStore } from '
|
|
4
|
-
import { isEqual } from '
|
|
5
|
-
import { ResourceTextEdit, IBulkEditService } from '
|
|
6
|
-
import { trimTrailingWhitespace } from '
|
|
7
|
-
import { Position } from '
|
|
8
|
-
import { Range } from '
|
|
9
|
-
import { IEditorWorkerService } from '
|
|
10
|
-
import { ILanguageFeaturesService } from '
|
|
11
|
-
import { ITextModelService } from '
|
|
12
|
-
import { applyCodeAction, ApplyCodeActionReason, getCodeActions } from '
|
|
13
|
-
import { CodeActionKind, CodeActionTriggerSource } from '
|
|
14
|
-
import { getDocumentFormattingEditsUntilResult } from '
|
|
15
|
-
import { SnippetController2 } from '
|
|
16
|
-
import { IConfigurationService } from '
|
|
17
|
-
import { IInstantiationService } from '
|
|
18
|
-
import { ILogService } from '
|
|
19
|
-
import { Registry } from '
|
|
20
|
-
import { IWorkspaceTrustManagementService } from '
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
5
|
+
import { ResourceTextEdit, IBulkEditService } from 'vscode/vscode/vs/editor/browser/services/bulkEditService';
|
|
6
|
+
import { trimTrailingWhitespace } from 'vscode/vscode/vs/editor/common/commands/trimTrailingWhitespaceCommand';
|
|
7
|
+
import { Position } from 'vscode/vscode/vs/editor/common/core/position';
|
|
8
|
+
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
9
|
+
import { IEditorWorkerService } from 'vscode/vscode/vs/editor/common/services/editorWorker';
|
|
10
|
+
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
11
|
+
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
12
|
+
import { applyCodeAction, ApplyCodeActionReason, getCodeActions } from 'vscode/vscode/vs/editor/contrib/codeAction/browser/codeAction';
|
|
13
|
+
import { CodeActionKind, CodeActionTriggerSource } from 'vscode/vscode/vs/editor/contrib/codeAction/common/types';
|
|
14
|
+
import { getDocumentFormattingEditsUntilResult } from 'vscode/vscode/vs/editor/contrib/format/browser/format';
|
|
15
|
+
import { SnippetController2 } from 'vscode/vscode/vs/editor/contrib/snippet/browser/snippetController2';
|
|
16
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
17
|
+
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
18
|
+
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log';
|
|
19
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
20
|
+
import { IWorkspaceTrustManagementService } from 'vscode/vscode/vs/platform/workspace/common/workspaceTrust';
|
|
21
21
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
22
22
|
import { getNotebookEditorFromEditorPane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
23
23
|
import { NotebookSetting, CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Disposable, DisposableStore, dispose } from '
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { registerAction2, Action2 } from '
|
|
4
|
-
import { Categories } from '
|
|
1
|
+
import { Disposable, DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
5
|
import { getNotebookEditorFromEditorPane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
6
6
|
import { registerNotebookContribution } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
7
7
|
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { Disposable } from '
|
|
3
|
-
import { Registry } from '
|
|
2
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
4
4
|
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
5
5
|
import { CellKind } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
6
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
|
|
7
7
|
import { getNotebookEditorFromEditorPane, CellEditState } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
8
|
-
import { UndoCommand, RedoCommand } from '
|
|
8
|
+
import { UndoCommand, RedoCommand } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
9
9
|
|
|
10
10
|
let NotebookUndoRedoContribution = class NotebookUndoRedoContribution extends Disposable {
|
|
11
11
|
constructor(_editorService) {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { RunOnceScheduler } from '
|
|
3
|
-
import { Disposable } from '
|
|
4
|
-
import { IAccessibilityService } from '
|
|
2
|
+
import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
|
|
3
|
+
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
|
|
5
5
|
import { CellEditState } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
6
6
|
import { registerNotebookContribution } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
7
7
|
import { outputDisplayLimit } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { URI } from '
|
|
3
|
-
import { CommandsRegistry } from '
|
|
1
|
+
import { isRelativePattern } from 'vscode/vscode/vs/base/common/glob';
|
|
2
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
3
|
+
import { CommandsRegistry } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
4
4
|
import { isDocumentExcludePattern } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
5
5
|
import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService';
|
|
6
6
|
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService';
|
|
@@ -13,7 +13,7 @@ CommandsRegistry.registerCommand('_resolveNotebookContentProvider', (accessor) =
|
|
|
13
13
|
if (typeof selector === 'string') {
|
|
14
14
|
return selector;
|
|
15
15
|
}
|
|
16
|
-
if (
|
|
16
|
+
if (isRelativePattern(selector)) {
|
|
17
17
|
return selector;
|
|
18
18
|
}
|
|
19
19
|
if (isDocumentExcludePattern(selector)) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Iterable } from '
|
|
2
|
-
import { isEqual } from '
|
|
3
|
-
import { ThemeIcon } from '
|
|
4
|
-
import { ILanguageService } from '
|
|
5
|
-
import { localizeWithPath } from '
|
|
6
|
-
import { registerAction2, MenuId } from '
|
|
7
|
-
import { IConfigurationService } from '
|
|
8
|
-
import { ContextKeyExpr } from '
|
|
1
|
+
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
2
|
+
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
3
|
+
import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
|
|
4
|
+
import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
|
|
5
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
6
|
+
import { registerAction2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
|
|
8
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
9
9
|
import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
|
|
10
10
|
import { InlineChatController } from 'vscode/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
|
|
11
11
|
import { CTX_INLINE_CHAT_FOCUSED } from 'vscode/vscode/vs/workbench/contrib/inlineChat/common/inlineChat';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { URI } from '
|
|
2
|
-
import { localizeWithPath } from '
|
|
3
|
-
import { registerAction2, Action2, MenuId } from '
|
|
4
|
-
import { ICommandService } from '
|
|
5
|
-
import { ContextKeyExpr } from '
|
|
6
|
-
import { IQuickInputService } from '
|
|
1
|
+
import { URI } from 'vscode/vscode/vs/base/common/uri';
|
|
2
|
+
import { localizeWithPath } from 'vscode/vscode/vs/nls';
|
|
3
|
+
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
|
|
5
|
+
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
6
|
+
import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
|
|
7
7
|
import { NOTEBOOK_ACTIONS_CATEGORY } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
8
8
|
import { getNotebookEditorFromEditorPane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
9
9
|
import { INotebookEditorService } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService';
|