Coder Social home page Coder Social logo

Comments (5)

stevenguh avatar stevenguh commented on June 8, 2024 3

Released v0.6.0 of vscode-which-key which contains this feature. Set whichkey.delay in your settings.json to the delay of the menu display in milliseconds.

from vspacecode.

stevenguh avatar stevenguh commented on June 8, 2024 2

I thought about this a little bit more, this is possible. We can present an empty quick pick and display menu items with a delay. If the assumption of the slowness is mostly attributed to the rendering of the menu items, I believe this could help. In any way, this is probably a good additional feature to have.

Since we are moving the core of the menu structure to vscode-which-key, I will tag this with which-key to indicate this is an issue related which-key menu code and should be work on the that repo.

I excepted this work item will be worked on after v0.5.0, which will bundled "vscode-which-key" extension on installation time, and currently low priority on my list, especially it does require some refactoring of the core menu.

from vspacecode.

stevenguh avatar stevenguh commented on June 8, 2024 1

Like you said, it is currently relying on quick pick api for the input, so not sure how this could be achieved. But will keep this open.
Btw, I am glad you like it :)

from vspacecode.

MarcoIeni avatar MarcoIeni commented on June 8, 2024

Today I tried the extension inside virtualbox with an i5 2018 laptop.
If you type really fast the key bindings are not read correctly. For example if you type <SPC>wh (really fast) the plugin reads <SPC>w only.

Introducing a delay may solve this. A temporary solution I am using is to use the vscode-vim branch in this situations.
Anyway, VSCodeVim is pretty slow too.

from vspacecode.

davidmauskop avatar davidmauskop commented on June 8, 2024

Thank you! 🙏

from vspacecode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.