Skip to content

Commit

Permalink
Merge pull request github#35150 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Nov 2, 2024
2 parents 3a8f812 + 294bf51 commit 181c90f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
> [!NOTE] Multi-file edit is currently in {% data variables.release-phases.public_preview %} and subject to change.
1 change: 1 addition & 0 deletions data/variables/product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 181c90f

Please sign in to comment.