You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/copilot/copilot-edits.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ In edit mode, you select which files to edit and provide the relevant context an
66
66
Copilot Edits streams the edits in the editor. In the working set, files that were edited by Copilot are marked in bold.
67
67
68
68
> [!TIP]
69
-
> Add more specific context by using chat variables like `#file` or `#sym` to reference files or symbols. Use`#codebase`to let Copilot collect relevant context from your entire workspace.
69
+
> Let Copilot find the right files automatically by adding`#codebase`in your prompt.
70
70
71
71
1. Review the suggested edits and accept or discard the suggested edits
72
72
@@ -135,6 +135,8 @@ You have many options to add files to the working set:
135
135
136
136

137
137
138
+
* Let Copilot find the right files automatically by adding `#codebase` in your prompt.
139
+
138
140
* Drag and drop editor tabs, or files or folders from the Explorer view, Search view, or editor breadcrumb onto the Copilot Edits view.
139
141
140
142
When you drop a folder onto the Copilot Edits view, all files in that folder are added to the working set.
@@ -147,10 +149,6 @@ You have many options to add files to the working set:
147
149
148
150
If you don't want to see these suggestions, you can disable them with the `setting(github.copilot.chat.edits.suggestRelatedFilesFromGitHistory)` setting.
149
151
150
-
To further help Copilot Edits provide better code suggestions, you can also add relevant context to your prompt, such as `#selection` or `#terminalSelection`. Use `#codebase` to let Copilot collect relevant context from your entire workspace. Type the `#` symbol or use the <iclass="codicon codicon-attach"></i> icon (`kb(workbench.action.chat.attachContext)`) to add context to your prompt.
151
-
152
-
You can also add specific file or symbol references in your prompt by using `#` as an IntelliSense trigger for file or symbol suggestions. If Copilot decides to make changes to the files you mentioned in your prompt, they are added automatically to your working set.
153
-
154
152
When Copilot Edits generates edits for your project, it visually indicates which files in the working set are edited. Select a file in the working set to open it and view the proposed edits in the editor.
155
153
156
154

0 commit comments