You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to reuse keyboard shortcuts that are already used for something else for twinny.
In my case,
CTRL+SHIFT+Enter to cancel bot generating text.
CTRL+SHIFT+Space to prompt the bot to try to guess what code comes next.
However, those keys are already assigned to other shortcuts which I also would like having for those shortcuts.
However, they don't apply to the same contexts.
Describe the solution you'd like
I'd like the provided shortcuts to already contain context evaluation from the get-go so the shortcuts only apply when the context makes sense.
For example, the key so the bot stops, can be limited only to the context of the bot generating a message (and 0.5-1s grace period). See: https://code.visualstudio.com/api/references/when-clause-contexts#add-a-custom-when-clause-context
The key to prompt the bot to trigger an inline suggestion can be only active when the user is focusing on the editor (or other similar contexts).
Describe alternatives you've considered
Make the shortcuts more complex, such as 2 stage shortcut to try to avoid the clash. Takes a long time if I keep wanting suggestions but not suggestions on each key press.
Additional context
(Kept the original shortcuts in this shot so you can identify them more easily)
Thank you for this tool!
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd like to reuse keyboard shortcuts that are already used for something else for twinny.
In my case,
CTRL+SHIFT+Enter
to cancel bot generating text.CTRL+SHIFT+Space
to prompt the bot to try to guess what code comes next.However, those keys are already assigned to other shortcuts which I also would like having for those shortcuts.
However, they don't apply to the same contexts.
Describe the solution you'd like
I'd like the provided shortcuts to already contain context evaluation from the get-go so the shortcuts only apply when the context makes sense.
For example, the key so the bot stops, can be limited only to the context of the bot generating a message (and 0.5-1s grace period). See:
https://code.visualstudio.com/api/references/when-clause-contexts#add-a-custom-when-clause-context
The key to prompt the bot to trigger an inline suggestion can be only active when the user is focusing on the editor (or other similar contexts).
Describe alternatives you've considered
Make the shortcuts more complex, such as 2 stage shortcut to try to avoid the clash. Takes a long time if I keep wanting suggestions but not suggestions on each key press.
Additional context
![image](https://private-user-images.githubusercontent.com/639467/302111974-f52e9505-5f76-4e91-b358-d9ef131f623a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3Njg4MjksIm5iZiI6MTcyNDc2ODUyOSwicGF0aCI6Ii82Mzk0NjcvMzAyMTExOTc0LWY1MmU5NTA1LTVmNzYtNGU5MS1iMzU4LWQ5ZWYxMzFmNjIzYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyN1QxNDIyMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ODRkNGMxMzA1MTcxNzJjYmY3YmVmMmU3NmJiMDYwNjQ0MzQ1YTEzZWMyYmFjMzZlMjk0ZjMyNmJjNWI4YTEzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DV7PzZg-f-xNT48U9ZYLHZ8kbvONZYbN7Pj2ahJKLbM)
(Kept the original shortcuts in this shot so you can identify them more easily)
Thank you for this tool!
The text was updated successfully, but these errors were encountered: