| 1 | --- |
| 2 | title: "Quick Start Tutorial" |
| 3 | description: "Learn Continue's core features through hands-on exercises. Get started with Autocomplete, Edit, Chat, and Agent in minutes." |
| 4 | sidebarTitle: "Quick Start" |
| 5 | --- |
| 6 | |
| 7 | Welcome 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"> |
| 23 | Create a new file called `tutorial.js` (or use any language you prefer) in your IDE |
| 24 | </Step> |
| 25 | |
| 26 | <Step title="Try Autocomplete"> |
| 27 | Copy this starter code and place your cursor at the end of the comment: |
| 28 | |
| 29 | ```javascript |
| 30 | // TODO: Implement a sorting algorithm function |
| 31 | function sortingAlgorithm(arr) { |
| 32 | // Place cursor here and press Enter |
| 33 | } |
| 34 | ``` |
| 35 | |
| 36 | Press **Enter** and watch Continue suggest code completions. Press **Tab** to accept suggestions. |
| 37 | |
| 38 | </Step> |
| 39 | |
| 40 | <Step title="See the Magic"> |
| 41 | Continue 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"> |
| 58 | Paste this bubble sort implementation in your file: |
| 59 | |
| 60 | ```javascript |
| 61 | function 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"> |
| 90 | Continue 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"> |
| 107 | Add this second sorting function to your file: |
| 108 | |
| 109 | ```javascript |
| 110 | function 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"> |
| 126 | 1. **Highlight** the function |
| 127 | 2. Use the keyboard shortcuts below to add it to Chat. |
| 128 | 3. Ask: `"What sorting algorithm is this and how can I optimize it?"` |
| 129 | </Step> |
| 130 | |
| 131 | <Step title="Explore Further"> |
| 132 | Try 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** |
| 145 | New Chat / New Chat With Selected Code / Close Continue Sidebar If Chat Already In Focus |
| 146 | |
| 147 | **Cmd/Ctrl + Shift + L** |
| 148 | Focus 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** |
| 154 | New Chat / New Chat With Selected Code / Close Continue Sidebar If Chat Already In Focus |
| 155 | |
| 156 | **Cmd/Ctrl + Shift + J** |
| 157 | Focus 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"> |
| 175 | 1. Open the Continue panel |
| 176 | 2. Click the **dropdown** in the bottom left of the input box |
| 177 | 3. 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"> |
| 187 | Agent 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 | |
| 205 | Congratulations! 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 | |
| 238 | Ready 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> |