Elffuss BraidHub

kikocis/continue public

cfc91aa76b54 · 2.0 KiBRawPermalink
1---
2title: "Quick Start"
3---
4
5Chat makes it easy to ask for help from an AI without leaving your IDE. Get explanations, generate code, and iterate on solutions conversationally.
6
7## Basic Usage
8
9### 1. Start a Conversation
10
11Type your question or request in the chat input and press Enter.
12
13**Examples:**
14
15- "Explain this function"
16- "How do I handle errors in this code?"
17- "Generate a test for this component"
18
19### 2. Include Code Context
20
21Select code in your editor, then use the keyboard shortcut to include it in your chat:
22
23- VS Code
24- JetBrains
25
26Press `Cmd/Ctrl + L` to send selected code to chat
27
28Press `Cmd/Ctrl + J` to send selected code to chat
29
30### 3. Use @ for Additional Context
31
32Type `@` to include specific context:
33
34- `@Codebase` - Search your project for relevant code
35- `@Docs` - Include documentation
36- `@Files` - Reference specific files
37- `@Terminal` - Include terminal output
38
39## Working with Responses
40
41When the AI provides code in its response, you'll see action buttons:
42
43- **Apply to current file** - Replace your selected code
44- **Insert at cursor** - Add code at your cursor position
45- **Copy** - Copy code to clipboard
46
47## Pro Tips
48
49### Start Fresh
50
51Press `Cmd/Ctrl + L` (VS Code) or `Cmd/Ctrl + J` (JetBrains) in an empty chat to start a new session.
52
53### Be Specific
54
55Include details about:
56
57- What you're trying to accomplish
58- Any constraints or requirements
59- Your preferred coding style or patterns
60
61### Iterate
62
63If the first response isn't perfect:
64
65- Ask follow-up questions
66- Request modifications
67- Provide additional context
68
69## Common Use Cases
70
71### Code Explanation
72
73Select confusing code and ask "What does this code do?"
74
75### Bug Fixing
76
77Include error messages and ask "How do I fix this error?"
78
79### Code Generation
80
81Describe what you want: "Create a React component that displays a user profile"
82
83### Refactoring
84
85Select code and ask "How can I make this more efficient?"
86
87---
88
89_Chat is designed for quick interactions and iterative problem-solving. Don't hesitate to ask follow-up questions!_