Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard shortcut hints are hardcoded #6376

Open
aspiers opened this issue Dec 17, 2024 · 2 comments
Open

keyboard shortcut hints are hardcoded #6376

aspiers opened this issue Dec 17, 2024 · 2 comments
Assignees
Labels
bug Something isn't working repo/cody

Comments

@aspiers
Copy link

aspiers commented Dec 17, 2024

Version

1.50.0

Describe the bug

The keyboard "ghost" hints such as this one are hardcoded and will not change even if the commands are unbound or rebound to other key strokes:

image

This can be clearly seen from this code:

const EDIT_SHORTCUT_LABEL = isMacOS() ? 'Opt+K' : 'Alt+K'
const CHAT_SHORTCUT_LABEL = isMacOS() ? 'Opt+L' : 'Alt+L'
const DOC_SHORTCUT_LABEL = isMacOS() ? 'Opt+D' : 'Alt+D'

text: `${EDIT_SHORTCUT_LABEL} to Edit, ${CHAT_SHORTCUT_LABEL} to Chat`,

Expected behavior

Ghost keyboard shortcut hints should always be correct, even if commands have been rebound to non-default shortcuts.

Additional context

No response

@aspiers aspiers added bug Something isn't working repo/cody labels Dec 17, 2024
Copy link

linear bot commented Dec 17, 2024

@PriNova PriNova self-assigned this Dec 17, 2024
@PriNova
Copy link
Collaborator

PriNova commented Dec 17, 2024

Hey @aspiers

Thank you for reporting this issue to us.
The team will have a look into it.

Happy programming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repo/cody
Projects
None yet
Development

No branches or pull requests

2 participants