3 ms·
If you’re interested, I built a snippet manager for VS Code that uses GitHub Gists for persistence. That way, you get a productive, in-editor experience, while
by lostintangent 7y ago
If you’re interested, I built a snippet manager for VS Code that uses GitHub Gists for persistence. That way, you get a productive, in-editor experience, while still being able to keep your own data/code, and can benefit from the existing ecosystem and primitives that have been built around gists (e.g. embedding gists into Dev.to/Medium blog posts, opening a Gist-based Jupyter notebook in NbViewer).
It’s called GistPad, and in addition to allowing you to create/manage code snippets, it supports easily moving files between your local machine and gists, pasting images, starring/forking gists, viewing and replying to comment threads, and creating “playgrounds” that are CodePen-like runnable samples: https://aka.ms/gistpad https://aka.ms/gistpad.
Additionally, since it’s a VS Code extension, you can easily edit/manage your snippets, while taking advantage of your existing editor setup/language support, using your favorite extensions, arranging files into arbitrary grid configurations, etc.
- arnado 7y agowow, this looks great!
- lostintangent 7y agoThanks! Let me know if you get a chance to check it out, and have any feedback (https://github.com/vsls-contrib/gistpad https://github.com/vsls-contrib/gistpad). I’m iterating on it pretty quickly, and am looking for more input about other developer’s use cases
- moralsupply 7y agoThanks for the work on that extension, it's very useful. Can it support private gists? I couldn't find a way to enable that.
- lostintangent 7y agoYep! You can run the “GistPad: New Secret Gist” command, or right-click the “Your Gists” node in the Gists Explorer and select “New Secret Gist”. Let me know how that works for you! “Secret” is the term that GitHub uses (as compared to a private repo), which is why I call them that.