Keyboard shortcuts are central part of VS Code, there are a lot of them and I think I use only a fraction of them. It would be awesome if VS Code could suggest what shortcut should I learn, based on how I use the app with mouse. For example if I click between editors a lot, then VS Code could somehow tell me to use ctrl+1
and ctrl+2
. This way I could gradually learn shortcuts that would increase my productivity the most.
cc @kieferrm
I was actually looking at building an extension for this a long time ago, we don't have the right extension points though. We would need an event for when any command is run and be able to determine the source of the command (menu, command palette, keybinding, etc.)
I was actually looking at building an extension for this a long time ago, we don't have the right extension points though. We would need an event for when any command is run and be able to determine the source of the command (menu, command palette, keybinding, etc.)
I tried this over the weekend and hit the same limitations. Was thinking about it a bit and I think this could be a nice feature to add to vscode itself (disabled by default perhaps). Could be something to consider if for some reason the extension points themselves aren't desired. Would be happy to work on a PR to help if there is any interest.
keep remain
Before extension points are added to listen for commands it might be possible to to use log stream to build a dataset for training such suggestions. Once proven that such suggestions can bring a lot of value it should be easier to prioritize the work in the extension surface.
Has anyone looked into telemetry emitted by VS Code with this scenario in mind?
Anyone working on this? I haven't found anything similar to this yet in extensions or anything.
Looks like no one :X
Need more interest to catch their attention
I am also looking forward to such a feature/extension.
I really miss this feature from WebStorm as well. It would be great to have it in VSC.
I am also looking forward to such feature
Currently, do we have enough extension API to implement this feature?
If so, I can start to explore it.
I don't think so. And this is the main problem. There was a proposal API some time ago in Insiders version but it has been revoked and from that time the topic is suspended as I know.
I am also looking forward to such feature
Hey, I am also looking forward to this feature! Something similar as what I had with PHPStorm...
I would rather learn the VSCode Keybinds than to use of extensions to change the shortcuts, as these extensions sometimes leave some commands behind, and you end up not making the most of what the editor can do
I, too, think that such a feature would be a great addition to VSCode.
I am also looking forward to such feature
https://github.com/microsoft/vscode/issues/78091#issuecomment-521640092
I have pushed 21de711 that removes the proposed API - as explained in my previous comment. This wasn't an easy decision but there were too many doubts around the usefulness of this API, the performance impact, and accidental leakage of arguments.
However, the internal API is there and we are open to accept features like the "keybindings teacher" or "macro recording" as a core contribution to VS Code.
I would love to see this feature! IntelliJ IDEA has Key Promoter X and it's amazing.
I'm currently using Android Studio as my primary editor but I tend to migrate to VS Code.
And having the feature that will help me to learn VS Code shortcuts would make my transition between the editors easier.
Thanks in advance!
I am also looking for this feature, helped me loads while working with JetBrains products.
I would also love this - Key Promoter X is very useful on IntelliJ products
I would also really appreciate this feature. It's a huge productivity boost to know the keyboard shortcuts.
+1
+1
+1
+1
鏈熷緟杩欎釜鍔熻兘 ~
+1
It'd be great to have such an extension. Looking forward to it.
I've just installed on IntelliJ and it's amazing! I hope that this comes to VSCode soo! I've been using Atom Keymap for VSCode because I'm daunted by having to learn another set of keybindings. At least with Key promoter for IntelliJ I'll be able to learn more quickly.
Most helpful comment
prior art: https://github.com/halirutan/IntelliJ-Key-Promoter-X