Elffuss BraidHub

kikocis/continue public

main ยท 7.0 KiBRawPermalink
1---
2title: "Quick Start Tutorial"
3description: "Learn Continue's core features through hands-on exercises. Get started with Autocomplete, Edit, Chat, and Agent in minutes."
4sidebarTitle: "Quick Start"
5---
6
7Welcome to Continue! This interactive tutorial will guide you through all four core features using practical examples. Follow along step-by-step to learn more about Continue's capabilities.
8
9<Info>
10 **Prerequisites**: Make sure you have [installed
11 Continue](/getting-started/install) and [signed
12 in](https://auth.continue.dev/) to get started.
13</Info>
14
15---
16
17## ๐Ÿ”„ Autocomplete
18
19**What it does**: Provides intelligent inline code suggestions as you type, powered by AI.
20
21<Steps>
22<Step title="Create a Test File">
23Create a new file called `tutorial.js` (or use any language you prefer) in your IDE
24</Step>
25
26<Step title="Try Autocomplete">
27Copy this starter code and place your cursor at the end of the comment:
28
29```javascript
30// TODO: Implement a sorting algorithm function
31function sortingAlgorithm(arr) {
32 // Place cursor here and press Enter
33}
34```
35
36Press **Enter** and watch Continue suggest code completions. Press **Tab** to accept suggestions.
37
38</Step>
39
40<Step title="See the Magic">
41Continue will intelligently suggest function implementations based on the context and comment.
42</Step>
43</Steps>
44
45<Tip>
46 Autocomplete works best when you provide clear function names, comments, or
47 type annotations that give context about your intent.
48</Tip>
49
50---
51
52## โœ๏ธ Edit
53
54**What it does**: Make quick, targeted changes to specific code sections using natural language instructions.
55
56<Steps>
57<Step title="Add Sample Code">
58Paste this bubble sort implementation in your file:
59
60```javascript
61function sortingAlgorithm(x) {
62 for (let i = 0; i < x.length; i++) {
63 for (let j = 0; j < x.length - 1; j++) {
64 if (x[j] > x[j + 1]) {
65 let temp = x[j];
66 x[j] = x[j + 1];
67 x[j + 1] = temp;
68 }
69 }
70 }
71 return x;
72}
73```
74
75</Step><Step title="Highlight the Function">
76**Highlight** the entire function in your editor
77</Step>
78
79<Step title="Open Edit Mode">Press **Cmd/Ctrl + I** to open Edit mode</Step>
80
81<Step title="Give Instructions">
82 Type: `"make this more readable and add TypeScript types"`
83</Step>
84
85<Step title="Watch the Magic">
86 Watch Continue refactor your code automatically!
87</Step>
88
89<Step title="Review Changes">
90Continue will show you a diff of the proposed changes. Accept or reject individual changes as needed.
91</Step>
92</Steps>
93
94<Note>
95 Edit is perfect for refactoring, adding documentation, fixing bugs, or
96 converting between languages/frameworks.
97</Note>
98
99---
100
101## ๐Ÿ’ฌ Chat
102
103**What it does**: Interactive AI assistant that can analyze code, answer questions, and provide guidance without leaving your IDE.
104
105<Steps>
106<Step title="Add Another Function">
107Add this second sorting function to your file:
108
109```javascript
110function sortingAlgorithm2(x) {
111 for (let i = 0; i < x.length; i++) {
112 for (let j = 0; j < x.length - 1; j++) {
113 if (x[j] > x[j + 1]) {
114 let temp = x[j];
115 x[j] = x[j + 1];
116 x[j + 1] = temp;
117 }
118 }
119 }
120 return x;
121}
122```
123
124</Step>
125<Step title="Start a Conversation">
1261. **Highlight** the function
1272. Use the keyboard shortcuts below to add it to Chat.
1283. Ask: `"What sorting algorithm is this and how can I optimize it?"`
129</Step>
130
131<Step title="Explore Further">
132Try these follow-up questions:
133- `"Show me how to implement quicksort instead"`
134- `"What's the time complexity of this algorithm?"`
135- `"Can you write unit tests for this function?"`
136</Step>
137</Steps>
138
139### Chat Keyboard Shortcuts
140
141<Tabs>
142<Tab title="VS Code">
143
144**Cmd/Ctrl + L**
145New Chat / New Chat With Selected Code / Close Continue Sidebar If Chat Already In Focus
146
147**Cmd/Ctrl + Shift + L**
148Focus Current Chat / Add Selected Code To Current Chat / Close Continue Sidebar If Chat Already In Focus
149
150</Tab>
151<Tab title="JetBrains IDEs">
152
153**Cmd/Ctrl + J**
154New Chat / New Chat With Selected Code / Close Continue Sidebar If Chat Already In Focus
155
156**Cmd/Ctrl + Shift + J**
157Focus Current Chat / Add Selected Code To Current Chat / Close Continue Sidebar If Chat Already In Focus
158
159</Tab>
160</Tabs>
161
162<Tip>
163 Use Chat for code reviews, debugging help, learning new concepts, or
164 brainstorming solutions to complex problems.
165</Tip>
166
167---
168
169## ๐Ÿค– Agent
170
171**What it does**: An autonomous coding assistant that can read files, make changes, run commands, and handle complex multi-step tasks.
172
173<Steps>
174<Step title="Switch to Agent Mode">
1751. Open the Continue panel
1762. Click the **dropdown** in the bottom left of the input box
1773. Select **"Agent"** mode
178</Step>
179
180<Step title="Give Agent a Complex Task">
181 Try this prompt: ``` "Write comprehensive unit tests for the sorting functions
182 in this file. Create the tests in a new file using Jest, and make sure to test
183 edge cases like empty arrays and single elements." ```
184</Step>
185
186<Step title="Watch Agent Work">
187Agent will:
188- โœ… Analyze your existing code
189- โœ… Create a new test file
190- โœ… Write comprehensive tests
191- โœ… Handle setup and imports
192- โœ… Explain what it's doing at each step
193</Step>
194</Steps>
195
196<Warning>
197 Agent has powerful capabilities including file creation and modification.
198 Always review Agent's changes before accepting them.
199</Warning>
200
201---
202
203## ๐Ÿš€ Next Steps
204
205Congratulations! You've experienced all four core Continue features. Here's what to explore next:
206
207<CardGroup cols={2}>
208 <Card title="Customize Your Setup" icon="gear" href="/customize/overview">
209 Configure models, add context providers, and personalize your workflow
210 </Card>
211 <Card
212 title="Advanced Features"
213 icon="rocket"
214 href="/features/agent/quick-start"
215 >
216 Dive deeper into Agent capabilities and advanced use cases
217 </Card>
218 <Card
219 title="Model Providers"
220 icon="brain"
221 href="/customize/model-providers/overview"
222 >
223 Connect your preferred AI models and providers
224 </Card>
225 <Card
226 title="Join Community"
227 icon="users"
228 href="https://discord.gg/NWtdYexhMs"
229 >
230 Get help and share experiences with other Continue users
231 </Card>
232</CardGroup>
233
234---
235
236## ๐Ÿ“š Feature Deep Dives
237
238Ready to master specific features? Check out these detailed guides:
239
240<AccordionGroup>
241 <Accordion title="Autocomplete Deep Dive">
242 Learn about [configuring autocomplete
243 models](/customize/model-roles/autocomplete), [fine-tuning
244 suggestions](/customize/deep-dives/autocomplete), and [troubleshooting
245 common issues](/troubleshooting).
246 </Accordion>
247
248<Accordion title="Chat & Agent Best Practices">
249 Discover [effective prompting techniques](/customize/deep-dives/prompts), [hub
250 v. local agents](/guides/understanding-agents), and [custom slash
251 commands](/customize/deep-dives/prompts).
252</Accordion>
253
254 <Accordion title="Enterprise & Teams">
255 Explore [Hub Agents](/hub/agents/intro), [organization
256 management](/hub/governance/creating-an-org), and [sharing
257 configurations](/hub/sharing).
258 </Accordion>
259</AccordionGroup>
260
261<Info>
262 **Need help?** Check our [troubleshooting guide](/troubleshooting) or ask a
263 question in our [community
264 discussions](https://github.com/continuedev/continue/discussions).
265</Info>