@codingame/monaco-vscode-notebook-service-override 12.0.1 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -1
- package/index.js +20 -20
- package/package.json +29 -37
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.d.ts +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +38 -38
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizerService.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +15 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +29 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +39 -39
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.d.ts +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +56 -56
- 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.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +40 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +42 -42
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +18 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +51 -51
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +37 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +35 -35
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +102 -102
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +40 -40
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookCellStatusBarServiceImpl.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookCellStatusBarServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +17 -17
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +30 -30
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +9 -9
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +27 -27
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +20 -20
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.d.ts +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.d.ts +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js +10 -10
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +6 -6
- package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +8 -8
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +23 -23
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +52 -52
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +16 -16
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +27 -27
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +9 -9
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.d.ts +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +11 -11
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { DisposableStore, Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
5
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
6
|
-
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
7
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
8
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
-
import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
|
|
10
|
-
import { registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { DisposableStore, Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
6
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
7
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
8
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
9
|
+
import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
|
|
10
|
+
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
11
11
|
import { CENTER_ACTIVE_CELL } from '../navigation/arrow.js';
|
|
12
12
|
import { SELECT_KERNEL_ID } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
13
13
|
import { SELECT_NOTEBOOK_INDENTATION_ID } from '../../controller/editActions.js';
|
|
14
14
|
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
15
|
-
import { NotebookCellsChangeType } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
16
|
-
import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
17
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
18
|
-
import { StatusbarAlignment } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
19
|
-
import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
20
|
-
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
21
|
-
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
15
|
+
import { NotebookCellsChangeType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
16
|
+
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
17
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
18
|
+
import { StatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
19
|
+
import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
20
|
+
import { IEditorGroupsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
21
|
+
import { Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
|
|
22
22
|
|
|
23
23
|
let ImplictKernelSelector = class ImplictKernelSelector {
|
|
24
24
|
constructor(notebook, suggested, notebookKernelService, languageFeaturesService, logService) {
|
|
@@ -112,19 +112,19 @@ let KernelStatus = class KernelStatus extends Disposable {
|
|
|
112
112
|
}
|
|
113
113
|
const tooltip = kernel.description ?? kernel.detail ?? kernel.label;
|
|
114
114
|
this._kernelInfoElement.add(this._statusbarService.addEntry({
|
|
115
|
-
name: ( localize(
|
|
115
|
+
name: ( localize(7339, "Notebook Kernel Info")),
|
|
116
116
|
text: `$(notebook-kernel-select) ${kernel.label}`,
|
|
117
117
|
ariaLabel: kernel.label,
|
|
118
|
-
tooltip: isSuggested ? ( localize(
|
|
118
|
+
tooltip: isSuggested ? ( localize(7340, "{0} (suggestion)", tooltip)) : tooltip,
|
|
119
119
|
command: SELECT_KERNEL_ID,
|
|
120
120
|
}, SELECT_KERNEL_ID, StatusbarAlignment.RIGHT, 10));
|
|
121
121
|
this._kernelInfoElement.add(kernel.onDidChange(() => this._showKernelStatus(notebook)));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
this._kernelInfoElement.add(this._statusbarService.addEntry({
|
|
125
|
-
name: ( localize(
|
|
126
|
-
text: ( localize(
|
|
127
|
-
ariaLabel: ( localize(
|
|
125
|
+
name: ( localize(7341, "Notebook Kernel Selection")),
|
|
126
|
+
text: ( localize(7342, "Select Kernel")),
|
|
127
|
+
ariaLabel: ( localize(7342, "Select Kernel")),
|
|
128
128
|
command: SELECT_KERNEL_ID,
|
|
129
129
|
kind: 'prominent'
|
|
130
130
|
}, SELECT_KERNEL_ID, StatusbarAlignment.RIGHT, 10));
|
|
@@ -170,7 +170,7 @@ let ActiveCellStatus = class ActiveCellStatus extends Disposable {
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
const entry = {
|
|
173
|
-
name: ( localize(
|
|
173
|
+
name: ( localize(7343, "Notebook Editor Selections")),
|
|
174
174
|
text: newText,
|
|
175
175
|
ariaLabel: newText,
|
|
176
176
|
command: CENTER_ACTIVE_CELL
|
|
@@ -194,8 +194,8 @@ let ActiveCellStatus = class ActiveCellStatus extends Disposable {
|
|
|
194
194
|
const numSelected = editor.getSelections().reduce((prev, range) => prev + (range.end - range.start), 0);
|
|
195
195
|
const totalCells = editor.getLength();
|
|
196
196
|
return numSelected > 1 ?
|
|
197
|
-
( localize(
|
|
198
|
-
( localize(
|
|
197
|
+
( localize(7344, "Cell {0} ({1} selected)", idxFocused, numSelected)) :
|
|
198
|
+
( localize(7345, "Cell {0} of {1}", idxFocused, totalCells));
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
ActiveCellStatus = ( __decorate([
|
|
@@ -255,10 +255,10 @@ let NotebookIndentationStatus = class NotebookIndentationStatus extends Disposab
|
|
|
255
255
|
return;
|
|
256
256
|
}
|
|
257
257
|
const entry = {
|
|
258
|
-
name: ( localize(
|
|
258
|
+
name: ( localize(7346, "Notebook Indentation")),
|
|
259
259
|
text: newText,
|
|
260
260
|
ariaLabel: newText,
|
|
261
|
-
tooltip: ( localize(
|
|
261
|
+
tooltip: ( localize(7347, "Select Indentation")),
|
|
262
262
|
command: SELECT_NOTEBOOK_INDENTATION_ID
|
|
263
263
|
};
|
|
264
264
|
if (!this._accessor.value) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
2
|
import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
3
|
-
import { INotebookExecutionStateService } from "vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
|
|
4
|
-
import { IUserActivityService } from "vscode/vscode/vs/workbench/services/userActivity/common/userActivityService.service";
|
|
3
|
+
import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
|
|
4
|
+
import { IUserActivityService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userActivity/common/userActivityService.service";
|
|
5
5
|
export declare class ExecutionEditorProgressController extends Disposable implements INotebookEditorContribution {
|
|
6
6
|
private readonly _notebookEditor;
|
|
7
7
|
private readonly _notebookExecutionStateService;
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { throttle } from 'vscode/vscode/vs/base/common/decorators';
|
|
4
|
-
import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { throttle } from '@codingame/monaco-vscode-api/vscode/vs/base/common/decorators';
|
|
4
|
+
import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
6
|
-
import { NotebookCellExecutionState } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
7
|
-
import { INotebookExecutionStateService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
8
|
-
import { IUserActivityService } from 'vscode/vscode/vs/workbench/services/userActivity/common/userActivityService.service';
|
|
6
|
+
import { NotebookCellExecutionState } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
7
|
+
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
8
|
+
import { IUserActivityService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/userActivity/common/userActivityService.service';
|
|
9
9
|
|
|
10
10
|
let ExecutionEditorProgressController = class ExecutionEditorProgressController extends Disposable {
|
|
11
11
|
static { this.id = 'workbench.notebook.executionEditorProgress'; }
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from 'vscode/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
1
|
+
import n from '@codingame/monaco-vscode-api/external/rollup-plugin-styles/dist/runtime/inject-css';
|
|
2
2
|
|
|
3
3
|
var css = ".monaco-workbench .notebookOverlay.notebook-editor.find-hide-transition,.monaco-workbench .notebookOverlay.notebook-editor.find-show-transition{overflow-y:hidden}.monaco-workbench .notebookOverlay.notebook-editor .simple-fr-find-part-wrapper .matchesCount{box-sizing:border-box;overflow:hidden;padding:0 2px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.monaco-workbench .nb-findScope{background-color:var(--vscode-editor-findRangeHighlightBackground)}";
|
|
4
4
|
n(css,{});
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
|
|
2
2
|
import './media/notebookFind.css.js';
|
|
3
|
-
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
4
|
-
import { Schemas } from 'vscode/vscode/vs/base/common/network';
|
|
5
|
-
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
6
|
-
import { ICodeEditorService } from 'vscode/vscode/vs/editor/browser/services/codeEditorService';
|
|
7
|
-
import { EditorOption } from 'vscode/vscode/vs/editor/common/config/editorOptions';
|
|
8
|
-
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
9
|
-
import { getSelectionSearchString, StartFindAction, FindStartFocusAction, StartFindReplaceAction } from 'vscode/vscode/vs/editor/contrib/find/browser/findController';
|
|
10
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
11
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
12
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
13
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
3
|
+
import { KeyCode, KeyMod } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
4
|
+
import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
|
|
5
|
+
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
6
|
+
import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService';
|
|
7
|
+
import { EditorOption } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions';
|
|
8
|
+
import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
|
|
9
|
+
import { getSelectionSearchString, StartFindAction, FindStartFocusAction, StartFindReplaceAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/find/browser/findController';
|
|
10
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
11
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
12
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
13
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
14
14
|
import { NotebookFindContrib } from '@codingame/monaco-vscode-1ae7d696-d960-5ac6-97a3-9fe7c8c3a793-common/vscode/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget';
|
|
15
15
|
import { NotebookMultiCellAction } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
16
16
|
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
17
17
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
18
|
-
import { NotebookFindScopeType, CellUri } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
18
|
+
import { NotebookFindScopeType, CellUri } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
19
19
|
import { NOTEBOOK_EDITOR_FOCUSED, KEYBINDING_CONTEXT_NOTEBOOK_FIND_WIDGET_FOCUSED, NOTEBOOK_IS_ACTIVE_EDITOR, INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
20
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
20
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
21
21
|
|
|
22
22
|
registerNotebookContribution(NotebookFindContrib.id, NotebookFindContrib);
|
|
23
23
|
registerAction2(class extends Action2 {
|
|
24
24
|
constructor() {
|
|
25
25
|
super({
|
|
26
26
|
id: 'notebook.hideFind',
|
|
27
|
-
title: ( localize2(
|
|
27
|
+
title: ( localize2(7348, 'Hide Find in Notebook')),
|
|
28
28
|
keybinding: {
|
|
29
29
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, KEYBINDING_CONTEXT_NOTEBOOK_FIND_WIDGET_FOCUSED)),
|
|
30
30
|
primary: KeyCode.Escape,
|
|
@@ -47,7 +47,7 @@ registerAction2(class extends NotebookMultiCellAction {
|
|
|
47
47
|
constructor() {
|
|
48
48
|
super({
|
|
49
49
|
id: 'notebook.find',
|
|
50
|
-
title: ( localize2(
|
|
50
|
+
title: ( localize2(7349, 'Find in Notebook')),
|
|
51
51
|
keybinding: {
|
|
52
52
|
when: ( ContextKeyExpr.and(NOTEBOOK_EDITOR_FOCUSED, ( ContextKeyExpr.or(NOTEBOOK_IS_ACTIVE_EDITOR, INTERACTIVE_WINDOW_IS_ACTIVE_EDITOR)), ( EditorContextKeys.focus.toNegated()))),
|
|
53
53
|
primary: KeyCode.KeyF | KeyMod.CtrlCmd,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { IInstantiationService } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
3
|
-
import { INotebookExecutionService } from "vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionService.service";
|
|
4
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
3
|
+
import { INotebookExecutionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionService.service";
|
|
4
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
5
5
|
export declare class CellExecutionParticipantsContribution extends Disposable implements IWorkbenchContribution {
|
|
6
6
|
private readonly instantiationService;
|
|
7
7
|
private readonly notebookExecutionService;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { localize2, localize } from 'vscode/vscode/vs/nls';
|
|
4
|
-
import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
|
|
5
|
-
import { KeyMod, KeyCode } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
6
|
-
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import { registerEditorAction, EditorAction } from 'vscode/vscode/vs/editor/browser/editorExtensions';
|
|
8
|
-
import { IBulkEditService, ResourceTextEdit } from 'vscode/vscode/vs/editor/browser/services/bulkEditService';
|
|
9
|
-
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
10
|
-
import { IEditorWorkerService } from 'vscode/vscode/vs/editor/common/services/editorWorker';
|
|
11
|
-
import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
|
|
12
|
-
import { ITextModelService } from 'vscode/vscode/vs/editor/common/services/resolverService';
|
|
13
|
-
import { getDocumentFormattingEditsWithSelectedProvider, FormattingMode, formatDocumentWithSelectedProvider } from 'vscode/vscode/vs/editor/contrib/format/browser/format';
|
|
14
|
-
import { registerAction2, Action2, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
15
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
16
|
-
import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
|
|
17
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
18
|
-
import { Progress } from 'vscode/vscode/vs/platform/progress/common/progress';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { localize2, localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
|
+
import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
5
|
+
import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
|
|
6
|
+
import { DisposableStore, Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
7
|
+
import { registerEditorAction, EditorAction } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
8
|
+
import { IBulkEditService, ResourceTextEdit } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService';
|
|
9
|
+
import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
|
|
10
|
+
import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker';
|
|
11
|
+
import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
|
|
12
|
+
import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
|
|
13
|
+
import { getDocumentFormattingEditsWithSelectedProvider, FormattingMode, formatDocumentWithSelectedProvider } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/format/browser/format';
|
|
14
|
+
import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
15
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
16
|
+
import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
|
|
17
|
+
import { KeybindingWeight } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
18
|
+
import { Progress } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress';
|
|
19
19
|
import { NOTEBOOK_ACTIONS_CATEGORY } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
20
20
|
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
21
21
|
import { NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_EDITABLE } from '@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
22
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
23
|
-
import { INotebookExecutionService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionService.service';
|
|
24
|
-
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
25
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
26
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
27
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
28
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
29
|
-
import { INotebookService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
22
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
23
|
+
import { INotebookExecutionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionService.service';
|
|
24
|
+
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
25
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
26
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
27
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
28
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
29
|
+
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
30
30
|
import { CodeActionParticipantUtils } from '../saveParticipants/saveParticipants.js';
|
|
31
31
|
|
|
32
32
|
registerAction2(class extends Action2 {
|
|
33
33
|
constructor() {
|
|
34
34
|
super({
|
|
35
35
|
id: 'notebook.format',
|
|
36
|
-
title: ( localize2(
|
|
36
|
+
title: ( localize2(7370, 'Format Notebook')),
|
|
37
37
|
category: NOTEBOOK_ACTIONS_CATEGORY,
|
|
38
38
|
precondition: ( ContextKeyExpr.and(NOTEBOOK_IS_ACTIVE_EDITOR, NOTEBOOK_EDITOR_EDITABLE)),
|
|
39
39
|
keybinding: {
|
|
@@ -84,7 +84,7 @@ registerAction2(class extends Action2 {
|
|
|
84
84
|
}
|
|
85
85
|
return [];
|
|
86
86
|
})));
|
|
87
|
-
await bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
87
|
+
await bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7371, "Format Notebook")), code: 'undoredo.formatNotebook', });
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
finally {
|
|
@@ -96,7 +96,7 @@ registerEditorAction(class FormatCellAction extends EditorAction {
|
|
|
96
96
|
constructor() {
|
|
97
97
|
super({
|
|
98
98
|
id: 'notebook.formatCell',
|
|
99
|
-
label: ( localize2(
|
|
99
|
+
label: ( localize2(7372, "Format Cell")),
|
|
100
100
|
precondition: ( ContextKeyExpr.and(
|
|
101
101
|
NOTEBOOK_IS_ACTIVE_EDITOR,
|
|
102
102
|
NOTEBOOK_EDITOR_EDITABLE,
|
|
@@ -165,7 +165,7 @@ let FormatOnCellExecutionParticipant = class FormatOnCellExecutionParticipant {
|
|
|
165
165
|
}
|
|
166
166
|
return [];
|
|
167
167
|
})));
|
|
168
|
-
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
168
|
+
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(7373, "Format Cells")), code: 'undoredo.notebooks.onWillExecuteFormat', });
|
|
169
169
|
}
|
|
170
170
|
finally {
|
|
171
171
|
disposable.dispose();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { ICommandService } from "vscode/vscode/vs/platform/commands/common/commands.service";
|
|
3
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
4
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
5
|
-
import { IStorageService } from "vscode/vscode/vs/platform/storage/common/storage.service";
|
|
6
|
-
import { IWorkbenchContribution } from "vscode/vscode/vs/workbench/common/contributions";
|
|
7
|
-
import { IEditorService } from "vscode/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
1
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
+
import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
|
|
3
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
4
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
5
|
+
import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
|
|
6
|
+
import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions";
|
|
7
|
+
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
8
8
|
export declare class NotebookGettingStarted extends Disposable implements IWorkbenchContribution {
|
|
9
9
|
constructor(_editorService: IEditorService, _storageService: IStorageService, _contextKeyService: IContextKeyService, _commandService: ICommandService, _configurationService: IConfigurationService);
|
|
10
10
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
5
|
-
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
6
|
-
import { registerAction2, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
|
-
import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands.service';
|
|
8
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
-
import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
|
|
10
|
-
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
11
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
12
|
-
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
13
|
-
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
14
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
5
|
+
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
6
|
+
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
7
|
+
import { ICommandService } from '@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service';
|
|
8
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
+
import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
|
|
10
|
+
import { IContextKeyService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
11
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
12
|
+
import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
|
|
13
|
+
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
14
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
15
15
|
import { Memento } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common/vscode/vs/workbench/common/memento';
|
|
16
|
-
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
16
|
+
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
17
17
|
import { HAS_OPENED_NOTEBOOK } from '@codingame/monaco-vscode-4a36e358-d94d-55e0-86ee-3bcd543d9d3f-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
18
18
|
import { NotebookEditorInput } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
19
|
-
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
20
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
19
|
+
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
20
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
21
21
|
|
|
22
22
|
const hasOpenedNotebookKey = 'hasOpenedNotebook';
|
|
23
23
|
const hasShownGettingStartedKey = 'hasShownNotebookGettingStarted';
|
|
@@ -66,7 +66,7 @@ registerAction2(class NotebookClearNotebookLayoutAction extends Action2 {
|
|
|
66
66
|
constructor() {
|
|
67
67
|
super({
|
|
68
68
|
id: 'workbench.notebook.layout.gettingStarted',
|
|
69
|
-
title: ( localize2(
|
|
69
|
+
title: ( localize2(7374, "Reset notebook getting started")),
|
|
70
70
|
f1: true,
|
|
71
71
|
precondition: ( ContextKeyExpr.equals(`config.${NotebookSetting.openGettingStarted}`, true)),
|
|
72
72
|
category: Categories.Developer,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
4
|
-
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
5
|
-
import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
6
|
-
import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
7
|
-
import { INotebookLoggingService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookLoggingService.service';
|
|
8
|
-
import { IExtensionService } from 'vscode/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
9
|
-
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { Disposable, DisposableStore } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
4
|
+
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
5
|
+
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
6
|
+
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
7
|
+
import { INotebookLoggingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookLoggingService.service';
|
|
8
|
+
import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
|
|
9
|
+
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
10
10
|
|
|
11
11
|
let NotebookKernelDetection = class NotebookKernelDetection extends Disposable {
|
|
12
12
|
constructor(_notebookKernelService, _extensionService, _notebookLoggingService) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Action2 } from "vscode/vscode/vs/platform/actions/common/actions";
|
|
2
|
-
import { ServicesAccessor } from "vscode/vscode/vs/platform/instantiation/common/instantiation";
|
|
1
|
+
import { Action2 } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions";
|
|
2
|
+
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
3
3
|
export declare class ToggleCellToolbarPositionAction extends Action2 {
|
|
4
4
|
constructor();
|
|
5
5
|
run(accessor: ServicesAccessor, context: any): Promise<void>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
3
|
-
import { Action2, MenuId, registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
4
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
2
|
+
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
3
|
+
import { Action2, MenuId, registerAction2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
4
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
5
5
|
import { NOTEBOOK_ACTIONS_CATEGORY } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
|
|
6
|
-
import { NotebookSetting } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
+
import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
7
7
|
|
|
8
8
|
const TOGGLE_CELL_TOOLBAR_POSITION = 'notebook.toggleCellToolbarPosition';
|
|
9
9
|
class ToggleCellToolbarPositionAction extends Action2 {
|
|
10
10
|
constructor() {
|
|
11
11
|
super({
|
|
12
12
|
id: TOGGLE_CELL_TOOLBAR_POSITION,
|
|
13
|
-
title: ( localize2(
|
|
13
|
+
title: ( localize2(7375, 'Toggle Cell Toolbar Position')),
|
|
14
14
|
menu: [{
|
|
15
15
|
id: MenuId.NotebookCellTitle,
|
|
16
16
|
group: 'View',
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
|
-
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6';
|
|
3
|
-
import { registerWorkbenchContribution2, WorkbenchPhase } from 'vscode/vscode/vs/workbench/common/contributions';
|
|
4
|
-
import { MarkerList, IMarkerNavigationService } from 'vscode/vscode/vs/editor/contrib/gotoError/browser/markerNavigationService';
|
|
5
|
-
import { CellUri } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
-
import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
7
|
-
import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
|
|
8
|
-
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
-
import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
|
|
3
|
+
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
4
|
+
import { MarkerList, IMarkerNavigationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/gotoError/browser/markerNavigationService';
|
|
5
|
+
import { CellUri } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
|
+
import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
|
|
7
|
+
import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
|
|
8
|
+
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
9
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
10
10
|
import { NotebookOverviewRulerLane } from '@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
11
11
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-c465110a-57c0-59d7-a6b2-be0a4db7e517-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
12
|
-
import { throttle } from 'vscode/vscode/vs/base/common/decorators';
|
|
13
|
-
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
14
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
15
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
16
|
-
import { editorErrorForeground, editorWarningForeground } from 'vscode/vscode/vs/platform/theme/common/colors/editorColors';
|
|
17
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/inputColors';
|
|
18
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/listColors';
|
|
19
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/menuColors';
|
|
20
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
21
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/miscColors';
|
|
22
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
23
|
-
import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
|
|
24
|
-
import { isEqual } from 'vscode/vscode/vs/base/common/resources';
|
|
12
|
+
import { throttle } from '@codingame/monaco-vscode-api/vscode/vs/base/common/decorators';
|
|
13
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colorUtils';
|
|
14
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/baseColors';
|
|
15
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/chartsColors';
|
|
16
|
+
import { editorErrorForeground, editorWarningForeground } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/editorColors';
|
|
17
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/inputColors';
|
|
18
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/listColors';
|
|
19
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/menuColors';
|
|
20
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/minimapColors';
|
|
21
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/miscColors';
|
|
22
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quickpickColors';
|
|
23
|
+
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
24
|
+
import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
|
|
25
25
|
|
|
26
26
|
let MarkerListProvider = class MarkerListProvider {
|
|
27
27
|
static { this.ID = 'workbench.contrib.markerListProvider'; }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Event } from "vscode/vscode/vs/base/common/event";
|
|
2
|
-
import { Disposable } from "vscode/vscode/vs/base/common/lifecycle";
|
|
3
|
-
import { ILanguageConfigurationService } from "vscode/vscode/vs/editor/common/languages/languageConfigurationRegistry";
|
|
4
|
-
import { ITextModelService } from "vscode/vscode/vs/editor/common/services/resolverService";
|
|
5
|
-
import { IAccessibilityService } from "vscode/vscode/vs/platform/accessibility/common/accessibility.service";
|
|
6
|
-
import { IConfigurationService } from "vscode/vscode/vs/platform/configuration/common/configuration.service";
|
|
7
|
-
import { RawContextKey } from "vscode/vscode/vs/platform/contextkey/common/contextkey";
|
|
8
|
-
import { IContextKeyService } from "vscode/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
9
|
-
import { IUndoRedoService } from "vscode/vscode/vs/platform/undoRedo/common/undoRedo.service";
|
|
1
|
+
import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
|
|
2
|
+
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
3
|
+
import { ILanguageConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfigurationRegistry";
|
|
4
|
+
import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
|
|
5
|
+
import { IAccessibilityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service";
|
|
6
|
+
import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
|
|
7
|
+
import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
|
|
8
|
+
import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service";
|
|
9
|
+
import { IUndoRedoService } from "@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service";
|
|
10
10
|
import { CellFindMatchWithIndex, ICellViewModel, INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-271a23cd-c7d7-5761-ae35-a923a42987b8-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
11
11
|
export declare enum NotebookMultiCursorState {
|
|
12
12
|
Idle = 0,
|