Skip to main content

Ctrl K

Ctrl K lets you edit and write code with the codebolt AI:

  • To edit a small part of your code:

    • Select the code you want to modify
    • Press Ctrl+K or Cmd+K
    • Describe how you want the selected code to be changed
    • The AI will suggest edits to just that part of the code
  • To accept the AI's suggested code changes:

    • Review the diff showing the AI's edits
    • If you're happy with the changes, press Ctrl+Enter or Cmd+Enter to accept them
    • The AI's code will be inserted into your editor, replacing any previous selection