GistPilotBrowse, open, and manage GitHub Gists from Visual Studio Code. GistPilot lets you keep snippets on GitHub, open them in your current editor window, and optionally sync edits when you save. Install from the VS Code Marketplace · Report a problem Quick start
Use the sidebar refresh button or GistPilot: Refresh Gists to reload the list. Create a GitHub tokenFor a classic personal access token:
The extension stores your GitHub token in VS Code SecretStorage. Run GistPilot: Clear GitHub Token to remove it. Your GitHub token is for gist access; it is separate from any AI API key. GitHub's gist API authentication documentation Open a gistClick a gist in the sidebar, or run GistPilot: Open Gist by ID and enter its ID. In a URL such as Files open as editor tabs by default. They are downloaded copies stored in the extension's persistent local storage. Your current project stays open. To open gists as folders in a separate window, change Open Gist: Open Mode in Settings to
GistPilot represents nested paths with Create and update gistsOpen a text file and run GistPilot: Create New Gist. Enter a description and choose visibility. The gist ID is copied to your clipboard. The Private option in the prompt creates a GitHub secret gist. Treat its URL as shareable information, rather than private storage.
Folder uploads read files as text. Use them for source code and notes, rather than binary files. Save and syncAuto-sync is off by default. Saving a downloaded file changes the local copy only. Run GistPilot: Toggle Auto Gist Sync, or use the status-bar toggle, to enable it. With auto-sync enabled, saving a file downloaded by GistPilot sends its contents to GitHub using your token. You need permission to edit that gist. Opening a gist again downloads the remote files over the cached disk copies. Save and sync edits you want to keep before reopening it. Auto-sync updates existing downloaded files; it does not automatically add or delete remote files. Additional toolsThese commands are available from the Command Palette:
ZIP export currently uses an unauthenticated download and does not fetch complete content for truncated API responses. Use ZIP tools for small text gists. Open a workspace before using scratch notes or local image saving. Optional AI summariesRun GistPilot: Summarize This Gist with a file open. It summarizes the active file, even if that file is not part of a gist. Choose OpenAI or Gemini, enter your provider's API key if prompted, and choose an available model. This sends the active file's text to the selected provider. Provider access and usage charges are separate from GistPilot. Keys entered at the prompt are not persisted by the extension. Keys saved under Troubleshooting
For a bug report, include your OS, VS Code version, extension version, the command used, and the error message. Leave out tokens, API keys, and private file contents. Development
The regression suite uses mocked VS Code and GitHub responses. Live extension-host testing is still needed for release validation. License |