diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md index 8fc90686d1..d9ec386f3e 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md @@ -77,14 +77,7 @@ If you don't want to use the default keyboard shortcuts in {% data variables.pro 1. Type the keystrokes you want to use for the command, then press Enter/Return. ![Screenshot of Edit keyboard shortcut textbox](/assets/images/help/copilot/vsc-edit-shortcuts-textbox.png) -## Enabling or disabling {% data variables.product.prodname_copilot %} - -You can enable or disable {% data variables.product.prodname_copilot %} from within {% data variables.product.prodname_vscode %}. The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the {% data variables.product.prodname_vscode %} window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. When enabled, the background color of the icon will match the color of the status bar. When disabled, the background color of the icon will contrast the color of the status bar. - -1. To enable or disable {% data variables.product.prodname_copilot %}, click the status icon in the bottom panel of the {% data variables.product.prodname_vscode %} window. - ![Screenshot of status icon in {% data variables.product.prodname_vscode %}](/assets/images/help/copilot/status-icon-visual-studio-code.png) -2. If you are disabling {% data variables.product.prodname_copilot %}, Visual Studio Code will ask whether you want to disable it globally, or only for the language of the file you are currently editing. To disable globally, click **Disable globally**. Alternatively, click the language-specific button to disable {% data variables.product.prodname_copilot %} for the specified language. - ![Screenshot of disable {% data variables.product.prodname_copilot %} globally or for the current language option](/assets/images/help/copilot/disable-copilot-global-or-langugage.png) +{% data reusables.copilot.enabling-and-disabling-in-vsc %} ## Enabling or disabling inline suggestions diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md index 4a9fafc7b5..6610e06fb5 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md @@ -40,13 +40,7 @@ If you don't want to use the default keyboard shortcuts in {% data variables.pro 1. Under "Press shortcut keys", type the shorcut you want to assign to the command, then click **Assign**. ![Screenshot of the keyboard shortcut assignment](/assets/images/help/copilot/vs-rebind-shortcut.png) -## Enabling or disabling {% data variables.product.prodname_copilot %} - -The {% data variables.product.prodname_copilot %} status icon in the bottom panel of the {% data variables.product.prodname_vs %} window indicates whether {% data variables.product.prodname_copilot %} is enabled or disabled. When enabled, the background color of the icon will match the color of the status bar. When disabled, it will have a diagonal line through it. - -1. To enable or disable {% data variables.product.prodname_copilot %}, click the {% data variables.product.prodname_copilot %} icon in the bottom panel of the {% data variables.product.prodname_vs %} window. - ![Screenshot of editor margin in {% data variables.product.prodname_vs %} with the {% data variables.product.prodname_copilot %} icon emphasized](/assets/images/help/copilot/editor-margin-visual-studio.png) -1. If you are disabling {% data variables.product.prodname_copilot %}, you will be asked whether you want to disable it globally, for the file you are currently editing, or for the current file type. +{% data reusables.copilot.enabling-and-disabling-vs %} ## Configuring ReSharper for {% data variables.product.prodname_copilot %}