Elffuss BraidHub

kikocis/continue public

8aab215acf3c · 1.6 KiBRawPermalink
1---
2title: "Chat Mode Context Selection"
3sidebarTitle: "Context Selection"
4description: "Learn how Continue selects relevant context for your chat requests, including text input, highlighted code, active files."
5---
6
7## How to Use Text Input
8
9Typing a question or instructions into the input box is the only required context.
10
11## How to Include Highlighted Code
12
13The highlighted code you've selected by pressing cmd/ctrl + L (VS Code) or cmd/ctrl + J (JetBrains) will be included in your prompt.
14
15## How to Include the Active File
16
17You can include the currently open file as context by pressing opt/alt + enter when you send your request.
18
19## How to Include a Specific File
20
21You can include a specific file in your current workspace by typing '@Files' and selecting the file.
22
23## How to Include a Specific Folder
24
25You can include a folder in your current workspace by typing '@Folder' and selecting the directory.
26
27## How to Use Codebase Search
28
29You can automatically include relevant files from your codebase by typing '@Codebase'.
30
31## How to Include Documentation Sites
32
33You can include a documentation site as context by typing '@Docs' and selecting the site.
34
35## How to Include Terminal Contents
36
37You can include the contents of the terminal in your IDE by typing '@Terminal'.
38
39## How to Include Git Diff
40
41You can include all of the changes you've made to your current branch by typing '@Git Diff'.
42
43## How to Use Other Context Providers
44
45You can see a full list of built-in context providers [here](/customize/custom-providers) and learn about how to create your own context provider [here](/guides/build-your-own-context-provider).