Skip to content

Commit d8caad4

Browse files
authored
Merge branch 'main' into python-settings-updates
2 parents 967e7df + bfa7852 commit d8caad4

File tree

172 files changed

+1560
-1373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+1560
-1373
lines changed

docs/azure/gettingstarted.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ In the Command Palette, type `Azure` to list the commands that are specific to A
3131

3232
**Review settings.** To edit or review your current settings in VS Code, use (`kb(workbench.action.openSettings)`), to open the Settings editor. It is helpful to review settings that any of the extensions may contribute.
3333

34-
**Identify and customize keyboard shortcuts.** You can use the Keyboard Shortcuts editor (`kb(workbench.action.openGlobalKeybindings)`) to find and configure keyboard shortcuts in VS Code. Get more info about [Keyboard Shortcuts editor](/docs/getstarted/keybindings.md#keyboard-shortcuts-editor).
34+
**Identify and customize keyboard shortcuts.** You can use the Keyboard Shortcuts editor (`kb(workbench.action.openGlobalKeybindings)`) to find and configure keyboard shortcuts in VS Code. Get more info about [Keyboard Shortcuts editor](/docs/editor/keybindings.md#keyboard-shortcuts-editor).
3535

3636
**Redisplay notifications.** You can right-click the bell icon in the bottom right of the Status Bar in VS Code to see missed notifications.
3737

docs/copilot/ai-powered-suggestions.md

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ Copilot NES is currently in preview. You can enable it via the VS Code setting `
7979
1. Search for `github.copilot.nextEditSuggestions.enabled`
8080
1. Enable the setting
8181

82-
If you are a Copilot Business or Enterprise user, an administrator of your organization must opt in to the use of Copilot "Editor Preview Features," in addition to you setting `setting(github.copilot.nextEditSuggestions.enabled)` in your editor.
83-
84-
You can learn more about [managing policies for Copilot in your organization](https://docs.github.com/en/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization).
82+
> [!IMPORTANT]
83+
> If you are a Copilot Business or Enterprise user, an administrator of your organization must opt in to the use of Copilot Editor Preview Features, in addition to you setting `setting(github.copilot.nextEditSuggestions.enabled)` in your editor. Learn more about [managing policies for Copilot in your organization](https://docs.github.com/en/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization).
8584
8685
### Navigate and accept edit suggestions
8786

@@ -139,16 +138,16 @@ If an edit suggestion is below the current editor view, the arrow will point dow
139138

140139
* **Matching code style**. After copy-pasting some code, Copilot will suggest how to adjust it to match the current code where the paste happened.
141140

142-
### Further configuring edit suggestions
141+
### Edit suggestions configuration options
143142

144-
To use Copilot NES, you must set `setting(github.copilot.nextEditSuggestions.enabled)`. There are a couple of additional settings you can also use to configure your Copilot NES experience:
143+
To further configure edit suggestions, configure these settings:
145144

146-
* `setting(editor.inlineSuggest.edits.codeShifting)`: You can disable this setting if you never want Copilot NES to shift your code to show a suggestion.
145+
* `setting(editor.inlineSuggest.edits.codeShifting)`: disable this setting if you never want Copilot NES to shift your code when showing a suggestion.
147146

148147
* `setting(editor.inlineSuggest.edits.renderSideBySide)`:
149148

150-
* **auto (default)**: Show larger suggestions side-by-side if there is enough space in the viewport, otherwise the suggestions are shown below the relevant code.
151-
* **never**: Always show larger suggestions below the relevant code.
149+
* **auto (default)**: show larger edit suggestions side-by-side if there is enough space in the viewport, otherwise the suggestions are shown below the relevant code.
150+
* **never**: never show suggestions side-by-side, always show suggestions below the relevant code.
152151

153152
## Tips & tricks
154153

@@ -160,33 +159,32 @@ To give you relevant inline suggestions, Copilot looks at the current and open f
160159

161160
You can temporarily enable or disable code completions either for all languages, or for specific languages only.
162161

163-
1. To enable or disable Copilot completions, select **Configure Code Completions...** from the Copilot menu in the VS Code title bar.
164-
165-
![Screenshot showing Copilot menu, highlighting Configure Code Completions.](./images/overview/configure-completions.png)
162+
To enable completions:
166163

167-
1. If you are disabling GitHub Copilot, you are asked whether you want to disable suggestions globally, or for the language of the file you are currently editing.
164+
1. Select **Configure Code Completions...** from the Copilot menu in the VS Code title bar.
165+
1. Select **Enable Completions**.
168166

169-
* To disable suggestions from GitHub Copilot globally, select **Disable Globally**.
170-
* To disable suggestions from GitHub Copilot for the specified language, select **Disable for \<language\>**.
167+
To disable completions:
171168

172-
![Screenshot showing the VS Code command menu for Copilot, highlighting the options to disable completions.](./images/inline-suggestions/copilot-disable-completions.png)
169+
1. Select **Configure Code Completions...** from the Copilot menu in the VS Code title bar.
170+
1. To disable completions globally, select **Disable Globally**.
171+
1. To disable completions for the language of the file you are currently editing, select **Disable for \<language\>**.
173172

174173
### Change the AI model
175174

176-
Different Large Language Models (LLMs) are trained on different types of data and might have different capabilities and strengths. With Copilot, you can change the language model that is used to generate completions. To change the current model:
177-
178-
1. Select **Configure Code Completions...** from the Copilot menu in the VS Code title bar.
179-
180-
![Screenshot showing Copilot menu, highlighting Configure Code Completions.](./images/overview/configure-completions.png)
175+
Different Large Language Models (LLMs) are trained on different types of data and might have different capabilities and strengths. You can change the language model that is used to generate code completions.
181176

182-
1. Select **Change Completions Model...** from the Configure Copilot Completions menu.
177+
To change the model that is used for code completions:
183178

184-
![Screenshot showing Copilot Completions menu, highlighting option to change completions model](./images/overview/change-completions-model.png)
179+
1. Select **Configure Code Completions...** from the Copilot menu in the VS Code title bar.
180+
1. Select **Change Completions Model...**, and then select one of the models.
185181

186182
> [!NOTE]
187-
> The list of available models might vary and change over time. If you are a Copilot Business or Enterprise user, you will also need your Administrator to enable certain models for your organization by opting in to `Editor Preview Features` in the [Copilot policy settings](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization) on GitHub.com.
183+
> The list of available models might vary and change over time. If you are a Copilot Business or Enterprise user, your Administrator needs to enable certain models for your organization by opting in to `Editor Preview Features` in the [Copilot policy settings](https://docs.github.com/en/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization) on GitHub.com.
184+
185+
## Settings
188186

189-
### Settings
187+
### Code completions settings
190188

191189
* `setting(editor.inlineSuggest.enabled)` - enable or disable inline completions.
192190

@@ -196,6 +194,8 @@ Different Large Language Models (LLMs) are trained on different types of data an
196194

197195
* `setting(editor.inlineSuggest.syntaxHighlightingEnabled)` - enable or disable syntax highlighting for inline completions.
198196

197+
### Next Edit Suggestions settings
198+
199199
* `setting(github.copilot.nextEditSuggestions.enabled)` - enable Copilot Next Edit Suggestions (Copilot NES).
200200

201201
* `setting(editor.inlineSuggest.edits.codeShifting)` - configure if Copilot NES is able to shift your code to show a suggestion.
@@ -204,12 +204,8 @@ Different Large Language Models (LLMs) are trained on different types of data an
204204

205205
## Next steps
206206

207-
* Get started with the introductory [Copilot tutorial](/docs/copilot/getting-started-chat.md) to get set up with Copilot in VS Code and experience Copilot hands-on.
208-
209-
* Learn how you can use AI chat conversations with [Copilot Chat](/docs/copilot/copilot-chat.md).
210-
211-
## Additional resources
207+
* Discover the key features with the [Copilot Quickstart](/docs/copilot/getting-started-chat.md).
212208

213-
You can read more about [Copilot](https://github.com/features/copilot) and how to use it in VS Code in the [GitHub Copilot documentation](https://docs.github.com/copilot/getting-started-with-github-copilot?tool=vscode).
209+
* Use AI chat conversations with [Copilot Chat](/docs/copilot/copilot-chat.md).
214210

215-
Or check out the [VS Code Copilot Series](https://www.youtube.com/playlist?list=PLj6YeMhvp2S5_hvBl2SE-7YCHYlLQ0bPt) on YouTube, where you can find more introductory content and programming-specific videos for using Copilot with [Python](https://www.youtube.com/watch?v=DSHfHT5qnGc), [C#](https://www.youtube.com/watch?v=VsUQlSyQn1E), [Java](https://www.youtube.com/watch?v=zhCB95cE0HY), [PowerShell](https://www.youtube.com/watch?v=EwtRzAFiXEM), [C++](https://www.youtube.com/watch?v=ZfT2CXY5-Dc), and more.
211+
* Watch the videos in our [VS Code Copilot Series](https://www.youtube.com/playlist?list=PLj6YeMhvp2S5_hvBl2SE-7YCHYlLQ0bPt) on YouTube.

docs/copilot/copilot-customization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Copilot can help you generate code, for example as part of a refactoring, genera
3535
3636
### Use settings
3737

38-
You can configure custom code-generation instructions by using the `setting(github.copilot.chat.codeGeneration.instructions)` setting. You can define custom instructions at the User or Workspace level, and you can also specify language-specific instructions. Get more information about [language-specific settings](/docs/getstarted/settings.md#language-specific-editor-settings).
38+
You can configure custom code-generation instructions by using the `setting(github.copilot.chat.codeGeneration.instructions)` setting. You can define custom instructions at the User or Workspace level, and you can also specify language-specific instructions. Get more information about [language-specific settings](/docs/editor/settings.md#language-specific-editor-settings).
3939

4040
The following code snippet shows how to define a set of instructions in the `settings.json` file. To define instruction directly in settings, configure the `text` property. To reference an external file, configure the `file` property.
4141

docs/copilot/copilot-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ MetaSocialImage: images/shared/github-copilot-social.png
1010
---
1111
# GitHub Copilot in VS Code settings reference
1212

13-
This article lists the configuration settings for GitHub Copilot in Visual Studio Code. For general information about working with settings in VS Code, refer to [User and workspace settings](/docs/getstarted/settings.md), as well as the [Variables reference](/docs/editor/variables-reference.md) for information about predefined variable support.
13+
This article lists the configuration settings for GitHub Copilot in Visual Studio Code. For general information about working with settings in VS Code, refer to [User and workspace settings](/docs/editor/settings.md), as well as the [Variables reference](/docs/reference/variables-reference.md) for information about predefined variable support.
1414

1515
> [!TIP]
1616
> If you don't yet have a Copilot subscription, you can use Copilot for free by signing up for the [Copilot Free plan](https://github.com/github-copilot/signup) and get a monthly limit of completions and chat interactions.
1717
18-
The team is continuously working on improving Copilot in VS Code and adding new features. Some features are still experimental. Try them out and share your feedback in [our issues](https://github.com/microsoft/vscode-copilot-release/issues). Get more info about the [feature lifecycle in VS Code](/docs/getstarted/settings.md#feature-lifecycle).
18+
The team is continuously working on improving Copilot in VS Code and adding new features. Some features are still experimental. Try them out and share your feedback in [our issues](https://github.com/microsoft/vscode-copilot-release/issues). Get more info about the [feature lifecycle in VS Code](/docs/editor/settings.md#feature-lifecycle).
1919

2020
## General settings
2121

docs/copilot/images/inline-suggestions/copilot-disable-completions.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/copilot/images/overview/change-completions-model.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/copilot/images/overview/configure-completions.png

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/cpp/colorization-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The Visual Studio Code C/C++ extension now supports semantic colorization, when
1717

1818
## Themes
1919

20-
Colors can be associated using the existing support for theming and color customization in VS Code. See the [VS Code Themes documentation](/docs/getstarted/themes.md) for more information.
20+
Colors can be associated using the existing support for theming and color customization in VS Code. See the [VS Code Themes documentation](/docs/editor/themes.md) for more information.
2121

2222
Colors are associated with [semantic tokens](https://code.visualstudio.com/api/extension-guides/color-theme#semantic-colors) as well as [TextMate scopes](https://macromates.com/manual/en/language_grammars#naming_conventions).
2323

docs/cpp/config-clang-mac.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Here is a sample of a `tasks.json` file on macOS:
163163
}
164164
```
165165

166-
>**Note**: You can learn more about `tasks.json` variables in the [variables reference](/docs/editor/variables-reference.md).
166+
>**Note**: You can learn more about `tasks.json` variables in the [variables reference](/docs/reference/variables-reference.md).
167167
168168
The `command` setting specifies the program to run. In this case, that is`clang++`.
169169

docs/cpp/config-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Your new `tasks.json` file should look similar to the JSON below:
164164
}
165165
```
166166

167-
>**Note**: You can learn more about `tasks.json` variables in the [variables reference](/docs/editor/variables-reference.md).
167+
>**Note**: You can learn more about `tasks.json` variables in the [variables reference](/docs/reference/variables-reference.md).
168168
169169
The `command` setting specifies the program to run; in this case that is g++.
170170
The `args` array specifies the command-line arguments that will be passed to g++. These arguments must be specified in the order expected by the compiler.

0 commit comments

Comments
 (0)