From 6a0f5c8686ece208bbba1af0de4fc51202172133 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 22 Dec 2024 23:43:18 +0100 Subject: [PATCH] home/vscode: replace keyboard-quickfix with native solution --- home/programs/vscode/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/home/programs/vscode/default.nix b/home/programs/vscode/default.nix index 8a9c16d..938e37b 100644 --- a/home/programs/vscode/default.nix +++ b/home/programs/vscode/default.nix @@ -202,8 +202,6 @@ in "errorLens.errorBackground" = "rgba(240,0,0,0.1)"; "errorLens.warningBackground" = "rgba(180,180,0,0.1)"; - "keyboard-quickfix.showActionNotification" = false; - "liveshare.presence" = true; "liveshare.showInStatusBar" = "whileCollaborating"; @@ -238,9 +236,15 @@ in keybindings = [ { - key = "ctrl+[Period]"; - command = "keyboard-quickfix.openQuickFix"; - when = "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"; + key = "alt+k"; + when = "codeActionMenuVisible"; + command = "selectPrevCodeAction"; + } + + { + key = "alt+j"; + when = "codeActionMenuVisible"; + command = "selectNextCodeAction"; } {