Giter Club home page Giter Club logo

Comments (6)

bruce3x avatar bruce3x commented on July 3, 2024 1

Add period with double-space

I tried to turn off this option and the problem disappeared.

from vscode-which-key.

stevenguh avatar stevenguh commented on July 3, 2024

That's pretty weird. I tried both your settings.json and keybindings.json without install all your extensions. I can't reproduce the issue you mentioned.

from vscode-which-key.

macintacos avatar macintacos commented on July 3, 2024

Apologies for the delay here. I think that the issue may be unrelated to the setting itself, it seems to just make it easier to encounter.

I tried using VSCode's "extension bisect" while using the method described here to keep VSpaceCode (and related extensions) enabled, and can still reliably reproduce it. I even disabled every setting from Vim/which-key/vspacecode and can still see it.

The most reliable setup I have is:

  • Be in NORMAL mode in VSCodeVim.
  • Put your cursor on some text. It doesn't seem to matter what kind of text.
  • Press SPC as fast as you can. You'll never seem to get to the "second layer" (meaning, it seems like SPC SPC never activates) until you slow down. If you stop hitting SPC for maybe half a second and hit SPC again, the "second layer" menu finally appears.

from vscode-which-key.

stevenguh avatar stevenguh commented on July 3, 2024

I tried using VSCode's "extension bisect" while using the method described microsoft/vscode#113568 to keep VSpaceCode (and related extensions) enabled, and can still reliably reproduce it. I even disabled every setting from Vim/which-key/vspacecode and can still see it.

Just double checking. I assume you are bisecting which-key versions?

Apologies for the delay here. I think that the issue may be unrelated to the setting itself, it seems to just make it easier to encounter.

If it is not related to the delay settings, I can only think of a few things:

  • Just double checking, do you have this settings off?
  • Do you have anything on your system that captures the second SPC?
    • Especially in the screencast you uploaded, I don't see ⎵⎵ instead I saw
  • If second SPC is not recognized, I guess the second SPC is so quick that it is before the menu is rendered. Then logically thinking, maybe your menu somehow is slow to render.
    • Do use something like this, maybe the style is slowing down the rendering?
    • Maybe try the vscode built-in theme?

from vscode-which-key.

macintacos avatar macintacos commented on July 3, 2024

I'll look into everything you mentioned, but first thing: the fact that you only see one SPC in the above video is just because of my screen recording software - it only displays one character at a time, so sequential SPC invocations look the same. I'll see if I can record the issue with some other software capturing the keystrokes so that the issue is easier to see.

from vscode-which-key.

stevenguh avatar stevenguh commented on July 3, 2024

I used https://github.com/keycastr/keycastr and it displays multiple characters at a time. Not sure if this helps.

from vscode-which-key.

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.