-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff to gist #245
Comments
Or instead of adding a whole diff functionality which might be a bit of work, you may (or may not, I'm not familiar with this project) be able to make an offline copy of the file being open from the gistpad in the "current" directory as well (of course using a different name, e.g., maybe adding a prefix to it or etc.) so that the already developed diff tools can do their job. And then when the file from gistpad gets closed, remove the copy in the current directory. Maybe you could make it read-only as well. I'm not sure if this is a possible solution, it can make things a bit clutterish as well, but I'm just trying to give my 2 cents. Thanks a lot for this extension, it's been really useful to me. |
Is your feature request related to a problem? Please describe.
Sometimes I keep a repository that has only a few files in a gist, but I keep the files on local as well for development. Now the problem is whenever I need to check whether the local version has already been pushed to the gist or not, I can't get a diff between the local one and the gist one directly, Instead, I will have to copy the file's content from the gist, create a local file, and then I will be able to use my diff tool to get the diff, which is very slow.
Describe the solution you'd like
Just like there's a VERY convenient option in the context menu for copying a file to gist from the explorer, also allow an option for getting the diff. This option can be configurable from settings.json so that people can enable it only if they need it(which I'd personally prefer as the default state, since I think users will use it a lot).
Describe alternatives you've considered
Make an offline copy and then getting the diff using my diff tool(I use the one by "Fabio Spampinato".
Additional context
None.
The text was updated successfully, but these errors were encountered: