1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Merge pull request #37026 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2025-03-21 11:34:55 -07:00
committed by GitHub
18 changed files with 51 additions and 44 deletions

View File

@@ -128,4 +128,4 @@ When you have finished exploring these options and {% data variables.product.pro
* [AUTOTITLE](/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions)
* [AUTOTITLE](/admin/enforcing-policies/enforcing-policies-for-your-enterprise)
* [AUTOTITLE](/admin/managing-accounts-and-repositories/managing-repositories-in-your-enterprise/governing-how-people-use-repositories-in-your-enterprise)
* [Enforce {% data variables.product.prodname_GHAS %} at Scale](https://wellarchitected.github.com/library/application-security/scenarios-and-recommendations/enforce-ghas-at-scale/)
* [Enforce {% data variables.product.prodname_GHAS %} at Scale](https://wellarchitected.github.com/library/application-security/recommendations/enforce-ghas-at-scale/)

View File

@@ -66,4 +66,4 @@ When you have enabled the additional controls for {% data variables.product.prod
## Further reading
* [Enforce {% data variables.product.prodname_GHAS %} at Scale](https://wellarchitected.github.com/library/application-security/scenarios-and-recommendations/enforce-ghas-at-scale/)
* [Enforce {% data variables.product.prodname_GHAS %} at Scale](https://wellarchitected.github.com/library/application-security/recommendations/enforce-ghas-at-scale/)

View File

@@ -54,11 +54,11 @@ Bringing the power of industry leading large and small language models to users
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).
### {% data variables.product.prodname_copilot_edits_vscode_short %}
### {% data variables.product.prodname_copilot_edits_short %}
{% data variables.product.prodname_copilot_edits_vscode_short %} is available in {% data variables.product.prodname_vscode %}. {% data reusables.copilot.about-copilot-edits %}
{% 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 %}
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.
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.
### {% data variables.product.prodname_copilot_short %} knowledge bases _({% data variables.product.prodname_copilot_enterprise_short %} only)_

View File

@@ -26,7 +26,7 @@ redirect_from:
* Code completion in {% data variables.product.prodname_vscode %}, {% data variables.product.prodname_vs %}, JetBrains IDEs, Vim/Neovim, Xcode, and Azure Data Studio
* {% 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 %}**)
* {% 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 %}**)
* {% 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 %})**
* {% 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 %}
* Custom instructions (**only in {% data variables.product.prodname_vs %}, {% data variables.product.prodname_vscode_shortname %}, and {% data variables.product.prodname_dotcom_the_website %}**)
* Prompt files (**only in {% data variables.product.prodname_vscode_shortname %}**)

View File

@@ -64,12 +64,6 @@ Processing new telemetry events and updating a user's `last_activity_at` date ca
If you believe a user's `last_activity_at` date should be more recent than shown in the CSV or API report, please wait 24 hours and check again. If their recent Copilot usage is still not reflected in their `last_activity_at` date, have the user check that telemetry is enabled in their IDE settings.
For more information about enabling telemetry in various IDEs, see:
* [Enable or disable usage data collection for Azure Data Studio](https://learn.microsoft.com/azure-data-studio/usage-data-collection) in the Microsoft documentation
* [Data Sharing](https://www.jetbrains.com/help/idea/settings-usage-statistics.html) in the JetBrains documentation
* [Telemetry](https://code.visualstudio.com/docs/getstarted/telemetry) in the {% data variables.product.prodname_vscode_shortname %} documentation
## Further reading
{% ifversion ghec %}

View File

@@ -26,15 +26,17 @@ On {% data variables.product.github %}, you can use {% data variables.product.pr
The quality of the results from {% data variables.product.prodname_copilot_chat_short %} may, in some situations, be degraded if very large files, or a large number of files, are used as a context for a question.
### Viewing generated files within {% data variables.product.prodname_copilot_chat_short %}
### Viewing and editing generated files within {% data variables.product.prodname_copilot_chat_short %}
> [!NOTE]
> This feature is currently in {% data variables.release-phases.public_preview %} and subject to change.
When you ask a question, {% data variables.product.prodname_copilot_short %} may generate one or more files as part of its response. In the {% data variables.product.prodname_copilot_chat_short %} panel, the files are displayed inline, within the chat response. In immersive view (that is, at [https://github.com/copilot](https://github.com/copilot)), the generated files are displayed in a side panel. You can view the files in the panel, or download them to your computer.
When you ask a question, {% data variables.product.prodname_copilot_short %} may generate one or more files as part of its response. In the {% data variables.product.prodname_copilot_chat_short %} panel, the files are displayed inline, within the chat response. In immersive view (that is, at [https://github.com/copilot](https://github.com/copilot)), the generated files are displayed in a side panel. You can view and edit the files in the panel, or download them to your computer.
For example, asking `Generate a simple calculator using HTML, CSS, and JavaScript` may generate multiple files, such as `index.html`, `styles.css`, and `script.js`.
In immersive view, you can also preview how some file formats, such as Markdown, render by toggling to the "Preview" tab in the side panel.
## Powered by skills
When using the GPT-4o and {% data variables.copilot.copilot_claude_sonnet %} models, {% data variables.product.prodname_copilot_short %} has access to a collection of skills to fetch data from {% data variables.product.github %}, which are dynamically selected based on the question you ask. You can tell which skill {% data variables.product.prodname_copilot_short %} used by clicking {% octicon "chevron-down" aria-label="the down arrow" %} to expand the status information in the chat window.

View File

@@ -114,29 +114,29 @@ 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.
## {% data variables.product.prodname_copilot_edits_vscode_short %}
## {% data variables.product.prodname_copilot_edits_short %}
{% data reusables.copilot.about-copilot-edits %}
{% data reusables.copilot.copilot-edits.about-copilot-edits %}
### Using edit mode
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.
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.
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. 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.
1. Review the changes and **Apply** or **Discard** the edits for each file.
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.
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.
### Using agent mode
{% data reusables.copilot.agent-mode-public-preview-note %}
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.
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.
1. Select **Agent** from the mode dropdown menu.
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.
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.
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.
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.
## Vision
@@ -353,6 +353,18 @@ By default, {% data variables.product.prodname_copilot_chat_short %} will refere
* **Inline**. You can submit a chat prompt inline, and scope it to a highlighted code block or your current file.
* 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>.
## {% data variables.product.prodname_copilot_edits_short %}
{% data reusables.copilot.copilot-edits.about-copilot-edits-jetbrains %}
### Using edit mode
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 %}**.
1. At the top of the chat panel, click **{% data variables.product.prodname_copilot_edits_short %}**.
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.
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.
1. Review the changes and **Accept** or **Discard** the edits for each file.
## Sharing feedback
To share feedback about {% data variables.product.prodname_copilot_chat_short %}, you can use the **share feedback** link in JetBrains.

View File

@@ -35,7 +35,6 @@ shortTitle: Configure default editor
* [JetBrains GoLand](https://www.jetbrains.com/go/)
* [JetBrains Fleet](https://www.jetbrains.com/fleet/)
* [JetBrains DataSpell](https://www.jetbrains.com/dataspell/)
* [TextMate](https://macromates.com/)
* [Brackets](http://brackets.io/)
* To use Brackets with {% data variables.product.prodname_desktop %}, you must install the Command Line shortcut. To install the shortcut, open Brackets, click **File** in the menu bar, then click **Install Command Line Shortcut**.
* [Typora](https://typora.io/)

View File

@@ -93,21 +93,6 @@ shortTitle: Associate text editors
{% endlinux %}
{% mac %}
## Using TextMate as your editor
1. Install [TextMate](https://macromates.com/).
1. Install TextMate's `mate` shell utility. For more information, see [`mate` and `rmate`](https://macromates.com/blog/2011/mate-and-rmate/) in the TextMate documentation.
{% data reusables.command_line.open_the_multi_os_terminal %}
1. Type this command:
```shell
git config --global core.editor "mate -w"
```
{% endmac %}
{% windows %}
## Using Notepad++ as your editor

View File

@@ -1,4 +0,0 @@
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. {% data variables.product.prodname_copilot_edits_vscode_short %} has the following modes:
* **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.
* **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.

View File

@@ -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.
> [!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.

View File

@@ -0,0 +1,3 @@
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 reusables.copilot.copilot-edits.edit-mode-description %}

View File

@@ -0,0 +1,4 @@
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:
* {% data reusables.copilot.copilot-edits.edit-mode-description %}
* {% data reusables.copilot.copilot-edits.agent-mode-description %}

View File

@@ -0,0 +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 %}.

View File

@@ -0,0 +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.

View File

@@ -327,7 +327,8 @@ prodname_copilot_customization: 'Copilot Customization'
prodname_copilot_in_support: 'Copilot in GitHub Support'
prodname_copilot_sku_isolation: 'Copilot subscription-based network routing'
prodname_copilot_autocomplete_pr: 'Copilot text completion'
prodname_copilot_edits_vscode_short: 'Copilot Edits'
prodname_copilot_edits: 'GitHub Copilot Edits'
prodname_copilot_edits_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'

View File

@@ -85,7 +85,15 @@ export default async function learningTrack(
// The trackTitle comes from a data .yml file and may use Liquid templating, so we need to render it
const renderOpts = { textOnly: true }
const trackTitle = (await renderContent(track.title, req.context, renderOpts)) as string
// Some translated titles are known to have broken Liquid, so we need to
// try rendering them in English as a fallback.
let trackTitle = ''
try {
trackTitle = (await renderContent(track.title, req.context, renderOpts)) as string
} catch {
const englishFallbackContext = { ...req.context, currentLanguage: 'en' }
trackTitle = (await renderContent(track.title, englishFallbackContext, renderOpts)) as string
}
const currentLearningTrack: LearningTrack = { trackName, trackProduct, trackTitle }
const guidePath = getPathWithoutLanguage(getPathWithoutVersion(req.pagePath))

View File

@@ -87,3 +87,4 @@
- is: https://www.gnu.org/software/emacs/
- is: https://www.transparency.org/what-is-corruption
- startsWith: https://platform.openai.com/docs/api-reference/
- is: https://azuredownloads-g3ahgwb5b8bkbxhd.b01.azurefd.net/github-copilot/