Keyboard Shortcuts

Bito UI in Visual Studio Code and JetBrains IDEs is entirely keyboard accessible. You can navigate Bito UI with standard keyboard actions such as TAB, SHIFT+TAB, ENTER, and ESC keys. Additionally, you can use the following shortcuts for quick operations.

The following video demonstrates important keyboard shortcuts.

General

CommandShortcuts

Open Bito Panel: Toggle Bito Panel on and off in the JetBrains IDE. In the Visual Studio Code, the shortcut opens the Bito panel if not already opened.

SHIFT + CTRL + O

Puts cursor in the chatbox when Bito panel is in focus.

SPACEBAR (Or start typing your question directly)

Execute the chat command

ENTER

Add a new line in the chatbox

CTRL + ENTER or SHIFT + ENTER

Modify the most recently executed prompt. This copies the last prompt in the chatbox for any edits.

CTRL + M

Expands and Collapse the "Shortcut" panel

Question & Answers

The following keyboard shortcuts work after the Q/A block is selected.

CommandKeyboard Shortcut

Navigate between the Questions/Answers block.

Note: You must select the Q/A container with TAB/SHIFT+TAB.

Copy the answer to the clipboard.

CTRL + C

Insert the answer in the code editor

CTRL + I

Toggle the diff view (when Diff View is applicable)

CTRL + D

Expand/Collapse the code block in the question.

Regenerate the answer

CTRL + L

Modify the prompt for the selected Q&A. Bito copies the prompt in the chatbox that you can modify as needed.

CTRL + U

Change Default Keyboard Shortcuts

Bito has carefully selected the keyboard shortcuts after thorough testing. However, it's possible that Bito selected key combination may conflict with IDE or other extensions shortcut. You can change the Bito default shortcut keys to avoid such conflicts.

Visual Studio Code Editor

  1. To Open the Keyboards Shortcuts editor in VS Code, navigate to the menu under File > Preferences > Keyboard Shortcuts. (Code > Preferences > Keyboard Shortcuts on macOS)

  1. Search for default available commands, keybindings, or Bito extension-specific commands in VSCode keyboard shortcut editor.

  1. Finding a conflict in Key binding → Search for the key and take necessary action, e.g., Remove or Reset.

  1. Add a new key binding or map the existing Bito extension command. Provide the necessary information (Command ID) to add the new key binding.

JetBrains

JetBrains Document: https://www.jetbrains.com/help/idea/configuring-keyboard-and-mouse-shortcuts.html

  1. File > settings > keymaps > configure keymaps

  1. Bito extension shortcuts can be overwritten by going into the File > Settings > Keymaps > configure keymaps > to the action you want to assign. It will also overwrite the Bito shortcut if there are conflicts.

  2. Bito extension keyboard shortcuts can be changed from the IntelliJ settings. File > Settings > Keymaps > configure keymaps > plugins > Bito > action you want to change by right click.

  3. Bito extension Keyboard shortcuts can be deleted from the IntelliJ settings. File > Settings > Keymaps > configure keymaps > plugins > Bito > action you want to delete by right click.

Last updated

Logo

Bito Inc. (c) 2024