Skip to content

Commit e2d858e

Browse files
committed
changed command title and name
1 parent fe0237c commit e2d858e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

extensions/ipynb/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
"title": "%cleanInvalidImageAttachment.title%"
5959
},
6060
{
61-
"command": "notebook.cellOutput.copyToClipboard",
62-
"title": "%copyOutputToClipboard.title%"
61+
"command": "notebook.cellOutput.copy",
62+
"title": "%copyCellOutput.title%"
6363
}
6464
],
6565
"notebooks": [
@@ -106,7 +106,7 @@
106106
],
107107
"webview/context": [
108108
{
109-
"command": "notebook.cellOutput.copyToClipboard",
109+
"command": "notebook.cellOutput.copy",
110110
"when": "webviewId == 'notebook.output' && webviewSection == 'image'"
111111
}
112112
]

extensions/ipynb/package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"newUntitledIpynb.shortTitle": "Jupyter Notebook",
77
"openIpynbInNotebookEditor.title": "Open IPYNB File In Notebook Editor",
88
"cleanInvalidImageAttachment.title": "Clean Invalid Image Attachment Reference",
9-
"copyOutputToClipboard.title": "Copy Output to Clipboard",
9+
"copyCellOutput.title": "Copy Output",
1010
"markdownAttachmentRenderer.displayName": {
1111
"message": "Markdown-It ipynb Cell Attachment renderer",
1212
"comment": [

src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ import { ICellOutputViewModel, ICellViewModel, INotebookEditor, getNotebookEdito
1717
import { CellKind } from 'vs/workbench/contrib/notebook/common/notebookCommon';
1818
import { CodeCellViewModel } from 'vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
1919

20-
export const COPY_OUTPUT_COMMAND_ID = 'notebook.cellOutput.copyToClipboard';
20+
export const COPY_OUTPUT_COMMAND_ID = 'notebook.cellOutput.copy';
2121

2222
registerAction2(class CopyCellOutputAction extends Action2 {
2323
constructor() {
2424
super({
2525
id: COPY_OUTPUT_COMMAND_ID,
26-
title: localize('notebookActions.copyOutput', "Copy Output to Clipboard"),
26+
title: localize('notebookActions.copyOutput', "Copy Output"),
2727
menu: {
2828
id: MenuId.NotebookOutputToolbar,
2929
when: NOTEBOOK_CELL_HAS_OUTPUTS

0 commit comments

Comments
 (0)