* remove outdated pages and references to them * change telemetry to a page instead of a directory with one page * fix duplicate redirects * remove vs code actions docs and references * update hub introduction * deprecate some context providers * initial codebase and documentation guide * replace context provider with MCP in custom code RAG * deprecate @docs and @codebase * remove context, docs, data blocks * move context providers to deep dives * move custom providers * remove "blocks" * remove rules "block" * update popular providers * cleanup before review * updating more providers * improve model reccs * fix broken links * add models links * cleaning up models details * move agent to first in list * remove outdated descriptions * reorder referene section * update block types * adjust model config example * fix tabs for yaml / json --------- Co-authored-by: Brian 'bdougie' Douglas <brian@dinnerpeople.app>
41 lines
1.5 KiB
Text
41 lines
1.5 KiB
Text
---
|
|
title: "Chat Mode Context Selection"
|
|
sidebarTitle: "Context Selection"
|
|
description: "Learn how Continue selects relevant context for your chat requests, including text input, highlighted code, active files."
|
|
---
|
|
|
|
## How to Use Text Input
|
|
|
|
Typing a question or instructions into the input box is the only required context.
|
|
|
|
## How to Include Highlighted Code
|
|
|
|
The highlighted code you've selected by pressing cmd/ctrl + L (VS Code) or cmd/ctrl + J (JetBrains) will be included in your prompt.
|
|
|
|
## How to Include the Active File
|
|
|
|
You can include the currently open file as context by pressing opt/alt + enter when you send your request.
|
|
|
|
## How to Include a Specific File
|
|
|
|
You can include a specific file in your current workspace by typing '@Files' and selecting the file.
|
|
|
|
## Codebase Search
|
|
|
|
For better codebase awareness, see our [guide on making agents aware of codebases and documentation](/guides/codebase-documentation-awareness).
|
|
|
|
## How to Include Documentation Sites
|
|
|
|
For better documentation awareness, see our [guide on making agents aware of codebases and documentation](/guides/codebase-documentation-awareness).
|
|
|
|
## How to Include Terminal Contents
|
|
|
|
You can include the contents of the terminal in your IDE by typing '@Terminal'.
|
|
|
|
## How to Include Git Diff
|
|
|
|
You can include all of the changes you've made to your current branch by typing '@Git Diff'.
|
|
|
|
## How to Use Other Context Providers
|
|
|
|
You can see a full list of built-in context providers [here](/customize/deep-dives/custom-providers).
|