Elffuss BraidHub

kikocis/continue public

main · 1.5 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## Codebase Search
24
25For better codebase awareness, see our [guide on making agents aware of codebases and documentation](/guides/codebase-documentation-awareness).
26
27## How to Include Documentation Sites
28
29For better documentation awareness, see our [guide on making agents aware of codebases and documentation](/guides/codebase-documentation-awareness).
30
31## How to Include Terminal Contents
32
33You can include the contents of the terminal in your IDE by typing '@Terminal'.
34
35## How to Include Git Diff
36
37You can include all of the changes you've made to your current branch by typing '@Git Diff'.
38
39## How to Use Other Context Providers
40
41You can see a full list of built-in context providers [here](/customize/deep-dives/custom-providers).