KeyboardCowboy icon indicating copy to clipboard operation
KeyboardCowboy copied to clipboard

snippet typing speed

Open fushugaku opened this issue 11 months ago • 3 comments

Hello, today I tried snippets and found a small bug, if I type in the snippet fast - it works, but if i type letters with some delay - it doesn't. I guess having some kind of setting for snippet typing speed would be nice. Tried it with vscode and it was reproduceble for all my snippets.

Snippets are awesome btw :)

Version is 3.26.1 (2242)

fushugaku avatar Jan 11 '25 21:01 fushugaku

Hi @fushugaku, I'll need to dig into this a bit. I think typing speed shouldn't affect whether the snippet is triggered or not. I don't have the code in my head right now, but I believe it uses the sequence of characters that were typed without any timeout.

It might just be that the bug disguises itself as having to do with the speed of the input.

I'll progress when I start investigating :)

zenangst avatar Jan 12 '25 17:01 zenangst

Hey @fushugaku, just wanted to follow this up. I started looking into this issue here (https://github.com/zenangst/KeyboardCowboy/issues/590) and I found that we actually have a small timeout.

I'm removing that for the next version.

zenangst avatar Mar 05 '25 19:03 zenangst

Hey @fushugaku, I just released version 3.27.0 of KeyboardCowboy. Would you mind giving it a try and see if the snippets are more reliable now? You can find the latest release here: https://github.com/zenangst/KeyboardCowboy/releases/tag/3.27.0

zenangst avatar Mar 12 '25 00:03 zenangst