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

Add commands shortcuts #23

Merged
merged 1 commit into from
Dec 14, 2023
Merged

Conversation

thedemons
Copy link
Contributor

@thedemons thedemons commented Dec 13, 2023

Due to a large number of key combinations in Visual Studio are already taken, I've decided that all shortcuts related to Codeium should be prefixed with ALT+C

  • ALT+C ALT+C: Open chat window
  • ALT+C ALT+E: Explain code block
  • ALT+C ALT+R: Refactor function

Deciding the key combination is not easy, as it greatly impacts users' workflow. The considerations that led to this decision were:

  • The ALT+C prefix combination is not used by default and rarely used by other extensions. It also stands for Codeium.
  • The most used command is Open chat window, which was set to ALT+C ALT+C so that the users could hold ALT and press C twice for convenience.
  • The C, E, and R could be pressed easily using one (left) hand instead of requiring both hands.


<KeyBindings>
<!-- CMDSETID_StandardCommandSet97 for global shortcuts, GUID_TextEditorFactory for editor only shortcuts
How to find them: https://stackoverflow.com/a/64912040/13253010 -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

God Visual Studio is just the best IDE

@fortenforge fortenforge merged commit b6e62cb into Exafunction:main Dec 14, 2023
1 check passed
@thedemons thedemons deleted the command-shortcuts branch December 14, 2023 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants