Skip to content

wraith13/open-in-github-desktop-vscode

Repository files navigation

Open In GitHub Desktop README

Visual Studio Marketplace installs rating

Open in GitHub Desktop from VS Code.

Features

  • Open in GitHub Desktop from command pallete.
  • Open in GitHub Desktop from status bar.

screen shot

Requirements

Tutorial

0. ⬇️ Install Open In GitHub Desktop

Show extension side bar within VS Code(Mac:Command+Shift+X, Windows and Linux: Ctrl+Shift+X), type open-in-github-desktop and press Enter and click Install. Restart VS Code when installation is completed.

1. ➡️ Open In GitHub Desktop

Click item( see screen shot above ) in statub bar or launch Command Palette(Mac:F1 or Shift+Command+P, Windows and Linux: F1 or Shift+Ctrl+P), Execute Open In GitHub Desktop command.

2. 🔧 Next step

You can change settings by settings.json.

Enjoy!

Commands

  • Open In GitHub Desktop : Open in GitHub Desktop from VS Code.

Extension Settings

This extension contributes the following settings by settings.json( Mac: Command+,, Windows / Linux: File -> Preferences -> User Settings ):

  • openInGithubDesktop.traversalSearchGitConfig: '.git/config' is also searched from parent folders.
  • openInGithubDesktop.traversalSearchGitConfigForCurrentDocument: '.git/config' is searched from parent folders of the currently open text file.
  • openInGithubDesktop.statusBar.Label: Label on status bar. Requires a restart to take effect.
  • openInGithubDesktop.statusBar.Alignment: Alignment on status bar. Requires a restart to take effect.
  • openInGithubDesktop.diagnosticWarning: Warning display when there are error or warning.
  • openInGithubDesktop.unsavedWarning: Warning display when there are unsaved existing files.

You can embed icons in the label text by leveraging the syntax:

My text $(icon-name) contains icons like $(icon'name) this one.

Where the icon-name is taken from the octicon icon set, e.g. light-bulb, thumbsup, zap etc.

You can specify unicode characters ( include emoji ) as label text too.

Keyboard shortcut Settings

In default, Open In GitHub Desktop's commands doesn't apply keyboard shortcuts. Althogh, you can apply keyboard shortcuts by keybindings.json ( Mac: Code -> Preferences -> Keyboard Shortcuts, Windows / Linux: File -> Preferences -> Keyboard Shortcuts).

Command name on keybindings.json is diffarent from on Command Pallete. See below table.

on Command Pallete on keybindings.json
Open In GitHub Desktop openInGithubDesktop

Release Notes

see ChangLog on marketplace or github

Support

GitHub Issues

License

Boost Software License

Download VSIX file ( for VS Code compatible softwares )

Releases · wraith13/open-in-github-desktop-vscode

Other extensions of wraith13's work

Icon Name Description
Bracket Lens Show bracket header on closing bracket.
Background Phi Colors This extension colors the background in various ways.
Zoom Bar Zoom UI in status bar for VS Code.

See all wraith13's expansions: https://marketplace.visualstudio.com/publishers/wraith13