1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/desktop/configuring-and-customizing-github-desktop/configuring-a-default-editor-in-github-desktop.md
Isaac Brown 221d23006b Add article "About GitHub Desktop" (#41963)
Co-authored-by: Laura Coursen <lecoursen@github.com>
2023-09-18 16:32:14 +01:00

5.8 KiB

title, intro, redirect_from, versions, shortTitle
title intro redirect_from versions shortTitle
Configuring a default editor in GitHub Desktop You can configure {% data variables.product.prodname_desktop %} to open files in your project with your preferred text editor or integrated development environment (IDE).
/desktop/getting-started-with-github-desktop/configuring-a-default-editor
/desktop/installing-and-configuring-github-desktop/configuring-a-default-editor
/desktop/installing-and-configuring-github-desktop/configuring-and-customizing-github-desktop/configuring-a-default-editor
/desktop/installing-and-configuring-github-desktop/configuring-and-customizing-github-desktop/configuring-a-default-editor-in-github-desktop
feature
desktop
Configure default editor

Supported editors

{% data variables.product.prodname_desktop %} supports the following editors. If you installed an editor while {% data variables.product.prodname_desktop %} was open you will need to quit and reopen {% data variables.product.prodname_desktop %} in order for the editor to be detected.

{% mac %}

{% endmac %}

{% windows %}

{% endwindows %}

Configuring a default editor

{% mac %}

{% data reusables.desktop.mac-select-desktop-menu %}

  1. In the Preferences window, select Integrations. Screenshot of the "Preferences" window. In the left sidebar, the "Integrations" option is highlighted in blue and outlined in orange.
  2. Under "External Editor", use the dropdown menu to select the editor you want to set as your default.
  3. Click Save.

{% endmac %}

{% windows %}

{% data reusables.desktop.windows-choose-options %}

  1. In the Options window, select Integrations. Screenshot of the "Options" window. In the left sidebar, the "Integrations" option is highlighted in blue and outlined in orange.
  2. Under "External Editor", use the dropdown menu to select the editor you want to set as your default.
  3. Click Save.

{% endwindows %}

Opening a repository in the default editor

To open the current repository in the default editor, you can use the menu bar:

  1. In the menu bar, select Repository.
  2. Click Open in default editor

If you want to open another repository in the default editor, you can use the repository list.

  1. In the upper-left corner of {% data variables.product.prodname_desktop %}, to the right of the current repository name, click {% octicon "triangle-down" aria-label="The triangle-down icon" %}.
  2. Right-click the repository, then click Open in default editor.

{% tip %}

{% mac %}

Tip: You can use the Shift+Command+A keyboard shortcut to open a repository in the default editor.

{% endmac %}

{% windows %}

Tip: You can use the Ctrl+Shift+A keyboard shortcut to open a repository in the default editor.

{% endwindows %}

{% endtip %}

Opening a file in the default editor

  1. Navigate to the "Changes" tab in the left sidebar.
  2. Double-click on the file, or right-click on the file and select Open in default editor.