condemil / gist

Sublime Text plugin for creating new Gists from selected text
MIT License
725 stars 136 forks source link

Save file confirmation when closing a gist #72

Closed arne-s closed 10 years ago

arne-s commented 11 years ago

When I open a gist and then close it without touching it, I get a confirmation wether I want to save the changes. This is very annoying when you often open en close gists while referencing stuff. Is there a way to not show this dialog, or only when there is an actual change to the file?

Steelsouls commented 11 years ago

I believe that has to do with the fact that Gists aren't saved as files locally. When you open a gist, it is being pulled from Github API, a new file is opened, and the content is pasted in. Seems to me that there's not a way to fix this on this plugin's end.

sergiitk commented 11 years ago

Thank you, shapov@ef5d1a9!