Multi-file editing (VS Code) [Public Preview] (#52928)

Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
This commit is contained in:
Sunbrye Ly 2024-11-01 15:33:11 -07:00 коммит произвёл GitHub
Родитель c7ed7dee00
Коммит 294bf516bc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 16 добавлений и 0 удалений

Просмотреть файл

@ -173,6 +173,20 @@ In addition to submitting prompts through the chat view, you can submit prompts
See [inline chat](https://code.visualstudio.com/docs/copilot/copilot-chat#_inline-chat), [quick chat](https://code.visualstudio.com/docs/copilot/copilot-chat#_quick-chat), and [chat smart actions](https://code.visualstudio.com/docs/copilot/copilot-chat#_chat-smart-actions) in the {% data variables.product.prodname_vscode %} documentation for more details.
## Multi-file edits
{% data reusables.copilot.copilot-edits-public-preview-note %}
Use {% data variables.product.prodname_copilot_edits_vscode_short %} to make changes across multiple files directly from a single {% data variables.product.prodname_copilot_chat_short %} prompt.
1. Enable {% data variables.product.prodname_copilot_edits_vscode_short %} in the {% data variables.product.prodname_copilot_extension_short %} settings.
1. Start an edit session by selecting **Open {% data variables.product.prodname_copilot_edits_vscode_short %}** from the {% data variables.product.prodname_copilot_chat_short %} menu.
1. Optionally, add relevant files to the _working set_ to indicate to {% data variables.product.prodname_copilot %} which files you want to work on.
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_edits_vscode_short %} determines which files in your _working set_ to change and adds a short description of the change.
1. Review the changes and **Apply** or **Discard** the edits for each file.
For more information, see [{% data variables.product.prodname_copilot_edits_vscode_short %}](https://code.visualstudio.com/docs/copilot/copilot-edits) in the {% data variables.product.prodname_vscode %} documentation.
## Sharing feedback
To indicate whether a response was helpful, use the thumbs up and thumbs down icons that appear next to the response.

Просмотреть файл

@ -0,0 +1 @@
> [!NOTE] Multi-file edit is currently in {% data variables.release-phases.public_preview %} and subject to change.

Просмотреть файл

@ -301,6 +301,7 @@ prodname_copilot_autocomplete_pr: 'Copilot text completion'
# Copilot branded GHAS features
prodname_copilot_autofix: 'GitHub Copilot Autofix'
prodname_copilot_autofix_short: 'Copilot Autofix'
prodname_copilot_edits_vscode_short: 'Copilot Edits'
prodname_copilot_workspace_pr: 'GitHub Copilot Workspace for pull requests'
prodname_copilot_workspace_pr_short: 'Copilot Workspace for PRs'
prodname_copilot_workspace: 'Copilot Workspace'