1
0
mirror of synced 2025-12-22 11:26:57 -05:00

use reusables

This commit is contained in:
Jules Parker
2022-06-15 13:32:21 +02:00
parent ec51340eb6
commit cca112a541
2 changed files with 2 additions and 15 deletions

View File

@@ -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 <kbd>Enter</kbd>/<kbd>Return</kbd>. 1. Type the keystrokes you want to use for the command, then press <kbd>Enter</kbd>/<kbd>Return</kbd>.
![Screenshot of Edit keyboard shortcut textbox](/assets/images/help/copilot/vsc-edit-shortcuts-textbox.png) ![Screenshot of Edit keyboard shortcut textbox](/assets/images/help/copilot/vsc-edit-shortcuts-textbox.png)
## Enabling or disabling {% data variables.product.prodname_copilot %} {% data reusables.copilot.enabling-and-disabling-in-vsc %}
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)
## Enabling or disabling inline suggestions ## Enabling or disabling inline suggestions

View File

@@ -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**. 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) ![Screenshot of the keyboard shortcut assignment](/assets/images/help/copilot/vs-rebind-shortcut.png)
## Enabling or disabling {% data variables.product.prodname_copilot %} {% data reusables.copilot.enabling-and-disabling-vs %}
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.
## Configuring ReSharper for {% data variables.product.prodname_copilot %} ## Configuring ReSharper for {% data variables.product.prodname_copilot %}