From 430161b947aa84a1d7fbb11f0ad0a51b9d196921 Mon Sep 17 00:00:00 2001 From: Peng Lyu Date: Tue, 4 Feb 2025 16:40:49 -0800 Subject: [PATCH] Default keybinding for change cell language. --- .../contrib/notebook/browser/controller/editActions.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/notebook/browser/controller/editActions.ts b/src/vs/workbench/contrib/notebook/browser/controller/editActions.ts index f613e034b6aae..3fe9771b282df 100644 --- a/src/vs/workbench/contrib/notebook/browser/controller/editActions.ts +++ b/src/vs/workbench/contrib/notebook/browser/controller/editActions.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import { KeyCode, KeyMod } from '../../../../../base/common/keyCodes.js'; +import { KeyChord, KeyCode, KeyMod } from '../../../../../base/common/keyCodes.js'; import { Mimes } from '../../../../../base/common/mime.js'; import { URI } from '../../../../../base/common/uri.js'; import { ICodeEditor } from '../../../../../editor/browser/editorBrowser.js'; @@ -361,6 +361,11 @@ registerAction2(class ChangeCellLanguageAction extends NotebookCellAction