Skip to content

Commit cca112a

Browse files
committed
use reusables
1 parent ec51340 commit cca112a

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio-code.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,7 @@ If you don't want to use the default keyboard shortcuts in {% data variables.pro
7777
1. Type the keystrokes you want to use for the command, then press <kbd>Enter</kbd>/<kbd>Return</kbd>.
7878
![Screenshot of Edit keyboard shortcut textbox](/assets/images/help/copilot/vsc-edit-shortcuts-textbox.png)
7979

80-
## Enabling or disabling {% data variables.product.prodname_copilot %}
81-
82-
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.
83-
84-
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.
85-
![Screenshot of status icon in {% data variables.product.prodname_vscode %}](/assets/images/help/copilot/status-icon-visual-studio-code.png)
86-
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.
87-
![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)
80+
{% data reusables.copilot.enabling-and-disabling-in-vsc %}
8881

8982
## Enabling or disabling inline suggestions
9083

content/copilot/configuring-github-copilot/configuring-github-copilot-in-visual-studio.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,7 @@ If you don't want to use the default keyboard shortcuts in {% data variables.pro
4040
1. Under "Press shortcut keys", type the shorcut you want to assign to the command, then click **Assign**.
4141
![Screenshot of the keyboard shortcut assignment](/assets/images/help/copilot/vs-rebind-shortcut.png)
4242

43-
## Enabling or disabling {% data variables.product.prodname_copilot %}
44-
45-
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.
46-
47-
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.
48-
![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)
49-
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.
43+
{% data reusables.copilot.enabling-and-disabling-vs %}
5044

5145
## Configuring ReSharper for {% data variables.product.prodname_copilot %}
5246

0 commit comments

Comments
 (0)