Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code action bindings #9965

Open
jfaz1 opened this issue Mar 22, 2024 · 0 comments
Open

Code action bindings #9965

jfaz1 opened this issue Mar 22, 2024 · 0 comments
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements

Comments

@jfaz1
Copy link

jfaz1 commented Mar 22, 2024

There should be a way to bind code actions directly onto keys.

VS Code allows for this in the following way:

{
  "key": "ctrl+shift+r ctrl+e",
  "command": "editor.action.codeAction",
  "args": {
    "kind": "refactor.extract.function"
  }
}

I'm working on a Markdown LSP, and one of the code actions I have is checking/unchecking a task. Would be nice to be able to bind directly to a key.

@jfaz1 jfaz1 added the C-enhancement Category: Improvements label Mar 22, 2024
@the-mikedavis the-mikedavis added the A-keymap Area: Keymap and keybindings label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-keymap Area: Keymap and keybindings C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants