Gist Extension
Access your GitHub Gists within Visual Studio Code. You can add, edit, and delete public and private gists.
Installation
Press F1 and narrow down the list commands by typing extension
. Pick Extensions: Install Extensions
.
Select the Gist Extension
extension from the list.
GitHub Authentication
The plugin requires you authenticate with GitHub.
You can either enter a username and password or a personal access token.
Login With Username
Login With Access Token
Note: To access Login With Access Token, leave username blank and press ENTER or ESCAPE and jump to this option.
Usage
Create Gists
You must have a file open and active to create a gist.
Press F1 and enter the following:
GIST: Create New Block
You will be prompted a gist description.
Open/Edit Gists
Press F1 and enter one fo the following:
GIST: Open Block
GIST: Open Favorite Block
All files associated with the gist will be opened in group layout.
Once you have opened an owned* gist, saving it will commit a new revision.
* an owned gist is one created by you, not a favorited (starred) gist.
You can also use the following commands:
GIST: Delete Block
GIST: Remove From Block
GIST: Add To Block
GIST: Change Block Description
GIST: Open Block In Browser
GIST: Insert Code Into Current File
Keyboard Shortcuts
You can associate the following commands to your own keyboard shortcuts:
extension.openCodeBlock
extension.openFavoriteCodeBlock
extension.createCodeBlock
extension.openCodeBlockInBrowser
extension.deleteCodeBlock
extension.removeFileFromCodeBlock
extension.addToCodeBlock
extension.changeCodeBlockDescription
extension.insertCode
Maintainer
vscode-gist is maintained by Ken Howard.