-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Open
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitykeybindings-editorKeybinding editor issuesKeybinding editor issues
Milestone
Description
Scenario
We support creating keybindings to trigger specific types of code actions or refactorings like so:
{
"key": "shift+ctrl+e",
"command": "editor.action.codeAction",
"args": {
"kind": "refactor.extract",
"preferred": true
}
}
#84033 added IntelliSense for creating keybindings like this in the json based keybindings editor. However at the moment, there is no way to properly view or create or edit keybindings that use args
in the keybindings editor.
This is important because we are trying to make code actions (specifically refactorings) more discoverable. I believe that making it easier to setup keybindings for code actions would help with discoverability and also help push refactorings as a bigger part of user's workflows
Feature Request
- Show the
args
somewhere in the keybindings editor - Let users edit the
args
in some way (possibly with a UX similar to the settings editor) - Let users create new keybindings with
args
/cc @misolori Since this would likely require some UX work
/cc @kieferrm For general refactoring discoverability
robole, xpe, mstenemo, AlexisHerrera, ArturoDent and 5 moreisidorn
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitykeybindings-editorKeybinding editor issuesKeybinding editor issues