VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.75k stars 1.31k forks source link

Autocomplete "commands" in "vim.*KeyBindings" #4566

Open vegerot opened 4 years ago

vegerot commented 4 years ago

Is your feature request related to a problem? Please describe. I'm always frustrated when I am making a vim keybinding and have to figure out what the exact editor.action thing to put in the commands array.

Describe the solution you'd like As I start typing the "commands": ["edi..."], I would like it to grab the list of all possible commands and autocomplete it for me

Describe alternatives you've considered Pressing ⌘K+⌘S, right-clicking which one I want and selecting Copy Command ID, and paste it in the commands array.

J-Fields commented 4 years ago

We can't do this dynamically. I suppose we could keep a list of commands that VSCode itself has (no extensions) and autocomplete using that? No such comprehensive list exists as far as I'm aware, though

vegerot commented 4 years ago

Interesting that there isn't a dynamic list of all possible VSCode commands. But certainly to save a list of the most common ones would be useful

vegerot commented 4 years ago

If I go to my keybindings.json and start typing in a command I can see a list of options

image
J-Fields commented 4 years ago

Related: https://github.com/VSCodeVim/Vim/issues/4042