Elffuss BraidHub

kikocis/continue public

main · 2.2 KiBRawPermalink
1---
2title: "Chat Mode Quick Start"
3sidebarTitle: "Quick Start"
4description: "Get started with Continue's AI chat assistant to solve coding problems directly in your IDE, with features for code context sharing, codebase search, and applying generated solutions to your files"
5---
6
7Chat makes it easy to ask for help from an AI without leaving your IDE. Get explanations, generate code, and iterate on solutions conversationally.
8
9## How to Use Chat - Basic Usage
10
11### How to Start a Conversation
12
13Type your question or request in the chat input and press Enter.
14
15**Examples:**
16
17- "Explain this function"
18- "How do I handle errors in this code?"
19- "Generate a test for this component"
20
21### How to Include Code Context
22
23Select code in your editor, then use the keyboard shortcut to include it in your chat:
24
25- VS Code
26- JetBrains
27
28Press `Cmd/Ctrl + L` to send selected code to chat
29
30Press `Cmd/Ctrl + J` to send selected code to chat
31
32### How to Use @ for Additional Context
33
34Type `@` to include specific context:
35
36- `@Files` - Reference specific files
37- `@Terminal` - Include terminal output
38
39## How to Work 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## What Are the Pro Tips for Chat
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## What Are Common Use Cases for Chat
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!_