continue-custom/docs/docs/edit/context-selection.md
2024-09-16 12:23:12 -07:00

646 B
Raw Blame History

title sidebar_position description keywords
Context selection 3 How to select context for Edit
edit
cmd i
works

Input

The input you provide is included in the prompt.

Highlighted code

The highlighted code you’ve selected is included in the prompt. This is the only section of code that the model will attempt to edit.

Current file

The entire contents of the file containing your highlighted code selection are included as additional context. This gives the model a broader understanding of the code's environment. If the file is too large to fit within the context window, we will trim the file's contents to fit.