Virtual GistsVirtual Gists is a Visual Studio Code extension that allows to open and edit a remote gist (e.g. on GitHub) without cloning, committing or pushing your changes. It all happens automatically. The extension is still missing lots of features I want to add (as time permits) and you can expect bugs (but hopefully nothing destructive), anyway this is a Getting startedInstall the extension from the VSCode Marketplace. Gist managementRead, create and delete GitHub Gists from the familiar VSCode environment. You can also follow users, star gists, and use a "Notepad" (a special, private gist) to job down ideas and ephemeral notes that do not fit into their own gist. NotepadThis is a special, private gist you can use as a temporary notepad, a place to store ephemeral notes you can quickly jot down and easily access from all your devices even if they do not quite fit into a regular gist. My GistsAll your private and public gists, except Starred GistsYour starred gists, grouped in one convenient TreeView node Followed UsersGists from the user you follow on GitHub, to stay up to date with their latest work Opened GistsInteresting gists you have opened but not starred yet. Create a new gistYou can create a private or public gist, just enter the gist name and the file name you want to use: Sync across devicesYou can sync your open gists across multiple devices by enabling Settings Sync in Visual Studio Code. Node: you may need to Refresh the Virtual Gists view to see the latest repos added or removed from another machine. Changes are committed automatically after the file is saved. The commit message is Star/Unstar gistsThere are lots of useful gists on GitHub and an easy way to keep track is to star them. With Virtual Gists you can add a gist under the If the gist you want to star is already listed anywhere else in Virtual Gists (under Copy Url/Open in browserYou may want to share a gist with someone or view the gist in GitHub; easy enough, just use the appropriate command from the context menu. For a gist: For a file: Download Gists and filesYou can download one or more Gists or files to your local drive. Note: Once downloaded, the files are no longer linked to GitHub so you must manually save/sync any changes you make offline. Optionally use the gist owner's avatar as iconIt can be helpful to identify to which user an opened or starred gist belongs to as a glance. Oh the other hand, you may prefer a cleaner list where icons only show the item type without being too distracting. Use Show decorations for Gist groupsYou can show the number of Gists and Followed Users enabling Note: Depending on the number of Gists or Followed Users, this may have a significant performance impact (increase the load time) due to the additional calls to GitHub needed to get the number of Gists in each group and for each user TracingThe extension uses the built-in Output Channel to enable local tracing to a channel called "Virtual Gists". This data is local only, it does not leave your machine. You can control the tracing level or disable, for all Output Channels or for specific extensions, using the built-in command Log Levels
GitHub authentication scopesThe extension uses the following GitHub authentication scopes
My other extensions
AcknowledgementsVirtual Gists is freely inspired by these fine extensions: |