Skip to content

Commit d5314f3

Browse files
committed
changes
1 parent 27a7068 commit d5314f3

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Diff for: docs/user/features/controlK.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Ctrl K
22

3-
Ctrl K lets you edit and write code with the codebolt AI. To edit, try selecting some code, click "Edit," and describe how the code should be changed. To generate completely new code, just type Ctrl K without selecting anything.
3+
<iframe width="100%" height="315" src="https://www.youtube.com/embed/CPH93ADilaM?si=HzjXTzyzxx-n31fU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
44

5-
![cntrlK](../../../static/img/cntrlK.png)
5+
Ctrl K lets you edit and write code with the codebolt AI:
6+
7+
- To edit a small part of your code:
8+
9+
- Select the code you want to modify
10+
- Press Ctrl+K or Cmd+K
11+
- Describe how you want the selected code to be changed
12+
- The AI will suggest edits to just that part of the code
13+
14+
- To accept the AI's suggested code changes:
15+
- Review the diff showing the AI's edits
16+
- If you're happy with the changes, press Ctrl+Enter or Cmd+Enter to accept them
17+
- The AI's code will be inserted into your editor, replacing any previous selection

0 commit comments

Comments
 (0)