Skip to content

Commit 1001d87

Browse files
sunbryeashishkeshanjules-p
authored
Copilot Edits in JetBrains IDEs [GA] (#54862)
Co-authored-by: Ashish Keshan <ashkeshan@gmail.com> Co-authored-by: Jules <19994093+jules-p@users.noreply.github.com>
1 parent fd35aea commit 1001d87

File tree

10 files changed

+35
-17
lines changed

10 files changed

+35
-17
lines changed

content/copilot/about-github-copilot/github-copilot-features.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ Bringing the power of industry leading large and small language models to users
5454

5555
AI-generated code review suggestions to help you write better code. For more information, see [AUTOTITLE](/copilot/using-github-copilot/code-review/using-copilot-code-review).
5656

57-
### {% data variables.product.prodname_copilot_edits_vscode_short %}
57+
### {% data variables.product.prodname_copilot_edits_short %}
5858

59-
{% data variables.product.prodname_copilot_edits_vscode_short %} is available in {% data variables.product.prodname_vscode %}. {% data reusables.copilot.about-copilot-edits %}
59+
{% data variables.product.prodname_copilot_edits_short %} is available in {% data variables.product.prodname_vscode %} and JetBrains IDEs. {% data reusables.copilot.copilot-edits.about-copilot-edits %}
6060

61-
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.
61+
For more information about {% data variables.product.prodname_copilot_edits_short %} in {% data variables.product.prodname_vscode %}, see [{% data variables.product.prodname_copilot_edits_short %}](https://code.visualstudio.com/docs/copilot/copilot-edits) in the {% data variables.product.prodname_vscode %} documentation.
6262

6363
### {% data variables.product.prodname_copilot_short %} knowledge bases _({% data variables.product.prodname_copilot_enterprise_short %} only)_
6464

content/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/managing-copilot-free/about-github-copilot-free.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ redirect_from:
2626

2727
* Code completion in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs, Vim/Neovim, Xcode, and Azure Data Studio
2828
* {% data variables.copilot.next_edit_suggestions_caps %}, which will predict the location of the next edit you are likely to make and suggest a completion for it. (**only in {% data variables.product.prodname_vscode_shortname %}**)
29-
* {% data variables.product.prodname_copilot_edits_vscode_short %} to make changes across multiple files. {% data variables.product.prodname_copilot_edits_vscode_short %} is available in two modes: edit mode and agent mode. (**only in {% data variables.product.prodname_vscode_shortname %}**)
29+
* {% data variables.product.prodname_copilot_edits_short %} to make changes across multiple files. {% data variables.product.prodname_copilot_edits_short %} is available in two modes: edit mode and agent mode. **(edit mode in {% data variables.product.prodname_vscode %} and JetBrains IDEs, agent mode only in {% data variables.product.prodname_vscode %})**
3030
* {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs, {% data variables.product.prodname_mobile %}, and {% data variables.product.prodname_dotcom_the_website %}
3131
* Custom instructions (**only in {% data variables.product.prodname_vs %}, {% data variables.product.prodname_vscode_shortname %}, and {% data variables.product.prodname_dotcom_the_website %}**)
3232
* Prompt files (**only in {% data variables.product.prodname_vscode_shortname %}**)

content/copilot/using-github-copilot/copilot-chat/asking-github-copilot-questions-in-your-ide.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,29 +114,29 @@ In addition to submitting prompts through the chat view, you can submit prompts
114114

115115
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.
116116

117-
## {% data variables.product.prodname_copilot_edits_vscode_short %}
117+
## {% data variables.product.prodname_copilot_edits_short %}
118118

119-
{% data reusables.copilot.about-copilot-edits %}
119+
{% data reusables.copilot.copilot-edits.about-copilot-edits %}
120120

121121
### Using edit mode
122122

123-
1. To start an edit session, select **Open {% data variables.product.prodname_copilot_edits_vscode_short %}** from the {% data variables.product.prodname_copilot_chat_short %} menu.
123+
1. To start an edit session, select **Open {% data variables.product.prodname_copilot_edits_short %}** from the {% data variables.product.prodname_copilot_chat_short %} menu.
124124
1. Optionally, add relevant files to the _working set_ to indicate to {% data variables.product.prodname_copilot %} which files you want to work on.
125-
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.
125+
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_edits_short %} determines which files in your _working set_ to change and adds a short description of the change.
126126
1. Review the changes and **Apply** or **Discard** the edits for each file.
127127

128-
For more detailed instructions, 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.
128+
For more detailed instructions, see [{% data variables.product.prodname_copilot_edits_short %}](https://code.visualstudio.com/docs/copilot/copilot-edits) in the {% data variables.product.prodname_vscode %} documentation.
129129

130130
### Using agent mode
131131

132132
{% data reusables.copilot.agent-mode-public-preview-note %}
133133

134-
1. To start an edit session, select **Open {% data variables.product.prodname_copilot_edits_vscode_short %}** from the {% data variables.product.prodname_copilot_chat_short %} menu.
134+
1. To start an edit session, select **Open {% data variables.product.prodname_copilot_edits_short %}** from the {% data variables.product.prodname_copilot_chat_short %} menu.
135135
1. Select **Agent** from the mode dropdown menu.
136136
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_short %} streams the edits in the editor, updates the working set, and if necessary, suggests terminal commands to run.
137137
1. Review the changes. If {% data variables.product.prodname_copilot_short %} suggested terminal commands, confirm whether or not {% data variables.product.prodname_copilot_short %} can run them. In response, {% data variables.product.prodname_copilot_short %} iterates and performs additional actions to complete the task in your original prompt.
138138

139-
For more information, see [{% data variables.product.prodname_copilot_edits_vscode_short %}](https://aka.ms/vscode-copilot-agent) in the {% data variables.product.prodname_vscode %} documentation.
139+
For more information, see [{% data variables.product.prodname_copilot_edits_short %}](https://aka.ms/vscode-copilot-agent) in the {% data variables.product.prodname_vscode %} documentation.
140140

141141
## Vision
142142

@@ -353,6 +353,18 @@ By default, {% data variables.product.prodname_copilot_chat_short %} will refere
353353
* **Inline**. You can submit a chat prompt inline, and scope it to a highlighted code block or your current file.
354354
* To start an inline chat, right click on a code block or anywhere in your current file, hover over **{% data variables.product.prodname_copilot %}**, then select **{% octicon "plus" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}: Inline Chat**, or enter <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>I</kbd>.
355355

356+
## {% data variables.product.prodname_copilot_edits_short %}
357+
358+
{% data reusables.copilot.copilot-edits.about-copilot-edits-jetbrains %}
359+
360+
### Using edit mode
361+
362+
1. To start an edit session, click **{% octicon "copilot" aria-hidden="true" %} {% data variables.product.prodname_copilot_short %}** in the menu bar, then select **Open {% data variables.product.prodname_copilot_chat %}**.
363+
1. At the top of the chat panel, click **{% data variables.product.prodname_copilot_edits_short %}**.
364+
1. Add relevant files to the _working set_ to indicate to {% data variables.product.prodname_copilot %} which files you want to work on. You can add all open files by clicking **Add all open files** or individually search for single files.
365+
1. Submit a prompt. In response to your prompt, {% data variables.product.prodname_copilot_edits_short %} determines which files in your _working set_ to change and adds a short description of the change.
366+
1. Review the changes and **Accept** or **Discard** the edits for each file.
367+
356368
## Sharing feedback
357369

358370
To share feedback about {% data variables.product.prodname_copilot_chat_short %}, you can use the **share feedback** link in JetBrains.

data/reusables/copilot/about-copilot-edits.md

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
> [!NOTE] Agent mode is currently available to [VS Code Insiders](https://code.visualstudio.com/insiders) as a {% data variables.release-phases.public_preview %} and is subject to change. See [{% data variables.product.prodname_copilot_edits_vscode_short %}](https://code.visualstudio.com/docs/copilot/copilot-edits#use-agent-mode-preview) in the {% data variables.product.prodname_vscode %} documentation.
1+
> [!NOTE] Agent mode is currently available to [VS Code Insiders](https://code.visualstudio.com/insiders) as a {% data variables.release-phases.public_preview %} and is subject to change. See [{% data variables.product.prodname_copilot_edits_short %}](https://code.visualstudio.com/docs/copilot/copilot-edits#use-agent-mode-preview) in the {% data variables.product.prodname_vscode %} documentation.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Use {% data variables.product.prodname_copilot_edits_short %} to make changes across multiple files directly from a single {% data variables.product.prodname_copilot_chat_short %} prompt.
2+
3+
{% data reusables.copilot.copilot-edits.edit-mode-description %}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Use {% data variables.product.prodname_copilot_edits_short %} to make changes across multiple files directly from a single {% data variables.product.prodname_copilot_chat_short %} prompt. {% data variables.product.prodname_copilot_edits_short %} has the following modes:
2+
3+
* {% data reusables.copilot.copilot-edits.edit-mode-description %}
4+
* {% data reusables.copilot.copilot-edits.agent-mode-description %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**Agent mode** (public preview): Use agent mode when you have a specific task in mind and want to enable {% data variables.product.prodname_copilot_short %} to autonomously edit your code. In agent mode, {% data variables.product.prodname_copilot_short %} determines which files to make changes to, offers code changes and terminal commands to complete the task, and iterates to remediate issues until the original task is complete. Agent mode is only available in {% data variables.product.prodname_vscode %}.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**Edit mode**: Use edit mode when you want more granular control over the edits that {% data variables.product.prodname_copilot_short %} proposes. In edit mode, you choose which files {% data variables.product.prodname_copilot_short %} can make changes to, provide context to {% data variables.product.prodname_copilot_short %} with each iteration, and decide whether or not to accept the suggested edits after each turn.

data/variables/product.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ prodname_copilot_customization: 'Copilot Customization'
327327
prodname_copilot_in_support: 'Copilot in GitHub Support'
328328
prodname_copilot_sku_isolation: 'Copilot subscription-based network routing'
329329
prodname_copilot_autocomplete_pr: 'Copilot text completion'
330-
prodname_copilot_edits_vscode_short: 'Copilot Edits'
330+
prodname_copilot_edits: 'GitHub Copilot Edits'
331+
prodname_copilot_edits_short: 'Copilot Edits'
331332
prodname_copilot_workspace_pr: 'GitHub Copilot Workspace for pull requests'
332333
prodname_copilot_workspace_pr_short: 'Copilot Workspace for PRs'
333334
prodname_copilot_workspace: 'Copilot Workspace'

0 commit comments

Comments
 (0)