--- title: Configuring GitHub Copilot in Visual Studio intro: 'You can enable, configure, and disable {% data variables.product.prodname_copilot %} in Visual Studio.' product: '{% data reusables.gated-features.copilot %}' versions: feature: 'copilot' shortTitle: Visual Studio topics: - Copilot --- ## Keyboard shortcuts for {% data variables.product.prodname_copilot %} You can use the default keyboard shortcuts in Visual Studio when using {% data variables.product.prodname_copilot %}. Alternatively, you can rebind the shortcuts in the Tools settings for Visual Studio using your preferred keyboard shortcuts for each specific command. You can search for each keyboard shortcut by its command name in the Keyboard Shortcuts editor. | Action | Shortcut | Command name | |:---|:---:|:---:| |Show next inline suggestion|Ctrl+Alt+]|Tools.Nextsuggestion| |Show previous inline suggestion|Ctrl+Alt+[|Tools.Previoussuggestion| |Trigger inline suggestion|Ctrl+Alt+\|Edit.Copilot.TriggerInlineSuggestion| ## Rebinding keyboard shortcuts 1. In the Visual Studio toolbar, under **Tools**, click **Options**. ![Screenshot of the Options option in the Visual Studio toolbar](/assets/images/help/copilot/vs-toolbar-options.png) 1. In the "Options" dialog, under **Environment**, click **Keyboard**. ![Screenshot of the Keyboard option in the "Options" dialog](/assets/images/help/copilot/vs-options-dialogue.png) 1. Under "Show commands containing:", search for the command you want to rebind. ![Screenshot of the show commands containing searchbar](/assets/images/help/copilot/vs-show-commands-containing.png) 1. Under "Press shortcut keys" type the shorcut you want to assign to the command and click **Assign**. ![Screenshot of the keyboard shortcut assignment](/assets/images/help/copilot/vs-rebind-shortcut.png) ## Enabling and 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 Visual Studio with the GitHub 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 %} If you use ReSharper, {% data variables.product.prodname_copilot %} may work best when you configure ReSharper to use the Visual Studio native IntelliSense. 1. In the Visual Studio toolbar, under **Tools**, click **Options**. ![Screenshot of the Options option in the Visual Studio toolbar](/assets/images/help/copilot/vs-toolbar-options.png) 1. In the "Options" dialog, under **Environment**, click **IntelliSense** and then click **General. ![Screenshot of the IntelliSense option in the "Options" dialog](/assets/images/help/copilot/vs-options-intellisense.png) 1. Under "General" select **Visual Studio** and then click **Save**.