Skip to main content

Configuring a default editor in GitHub Desktop

You can configure GitHub Desktop to open files in your project with your preferred text editor or integrated development environment (IDE).

Platform navigation

Supported editors

GitHub Desktop supports the following editors. If you installed an editor while GitHub Desktop was open you will need to quit and reopen GitHub Desktop in order for the editor to be detected.

Configuring a default editor

  1. En la barra de menús, seleccione GitHub Desktop y, a continuación, haga clic en Preferencias.

    Captura de pantalla de la barra de menús en un equipo Mac. En el menú desplegable "Escritorio de GitHub", el cursor mantiene el puntero sobre "Preferencias", que se resalta en azul.

  2. 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.

  3. Under "External Editor", use the dropdown menu to select the editor you want to set as your default.

  4. Click Save.

  1. Use el menú Archivo y haga clic en Opciones.

    Captura de pantalla de la barra de menús "Escritorio de GitHub" en un equipo Windows. En el menú desplegable "Archivo" expandido, el elemento "Opciones" se resalta con un contorno naranja.

  2. 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.

  3. Under "External Editor", use the dropdown menu to select the editor you want to set as your default.

  4. Click Save.

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 GitHub Desktop, to the right of the current repository name, click .
  2. Right-click the repository, then click Open in default editor.

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

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

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.