Elffuss BraidHub

kikocis/continue public

a6ac770a1291 · 2.3 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- `@Codebase` - Search your project for relevant code
37- `@Docs` - Include documentation
38- `@Files` - Reference specific files
39- `@Terminal` - Include terminal output
40
41## How to Work with Responses
42
43When the AI provides code in its response, you'll see action buttons:
44
45- **Apply to current file** - Replace your selected code
46- **Insert at cursor** - Add code at your cursor position
47- **Copy** - Copy code to clipboard
48
49## What Are the Pro Tips for Chat
50
51### Start Fresh
52
53Press `Cmd/Ctrl + L` (VS Code) or `Cmd/Ctrl + J` (JetBrains) in an empty chat to start a new session.
54
55### Be Specific
56
57Include details about:
58
59- What you're trying to accomplish
60- Any constraints or requirements
61- Your preferred coding style or patterns
62
63### Iterate
64
65If the first response isn't perfect:
66
67- Ask follow-up questions
68- Request modifications
69- Provide additional context
70
71## What Are Common Use Cases for Chat
72
73### Code Explanation
74
75Select confusing code and ask "What does this code do?"
76
77### Bug Fixing
78
79Include error messages and ask "How do I fix this error?"
80
81### Code Generation
82
83Describe what you want: "Create a React component that displays a user profile"
84
85### Refactoring
86
87Select code and ask "How can I make this more efficient?"
88
89---
90
91_Chat is designed for quick interactions and iterative problem-solving. Don't hesitate to ask follow-up questions!_