Closed danielbrodin closed 11 years ago
It's theoretically possible. I'm not sure what the UI would be for specifying that a file should be handled that way, though, since I don't think most people would want their gists auto-updating whenever they saved.
What's wrong with just opening the gist in your editor and running the GitHub: Update Gist command when you're ready to update?
I wouldn't like an auto-update function either, just the possibility to open the file, edit it, and if I want do a Update Gist right away.
The feature would just be available if you open gist in editor and save the file which probably doesn't happen a lot (not for me atleast), so nothing wrong with copy/pasting really, just thought it would be a nice feature :)
So someone else just opened up a similar issue (#18). See my suggestion to him here: https://github.com/bgreenlee/sublime-github/issues/18#issuecomment-5061969
Would that work for you?
When I try to update a file that is posted as a gist I always get Can't update: this doesn't appear to be a valid gist.
.
Is there something you need to do to keep the file linked to the gist?
@anthonyringoet You have to open it from gist first, via GitHub: Open Gist in Editor
@bgreenlee Thanks!
Is there any way to connect a file to a gist so anytime you change the file it's just to do a Update Gist?
I have my settings (and some more things) saved as a gist to be able to have the same settings wherever I am, but right now I have to open gist in editor, open my settings, copy and paste them in to the open gist, then update the gist.