Open in GitHub Desktop from VS Code.
- Open in GitHub Desktop from command pallete.
- Open in GitHub Desktop from status bar.
- GitHub Desktop has been installed.
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.
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.
You can change settings by settings.json.
Enjoy!
Open In GitHub Desktop: Open in GitHub Desktop from VS Code.
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.
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 |
see ChangLog on marketplace or github
Releases · wraith13/open-in-github-desktop-vscode
| 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
