-
Notifications
You must be signed in to change notification settings - Fork 9
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 and easy restore for files #34
Comments
Hello, Generally, I do, either copy / paste the entire file or I merge incrementally with Meld (from the command Local history diff tool). A great feature would be to make a diff and restores directly from Atom! |
We could fork https://github.com/floydpink/atom-compare-files and add the merge functionality. |
I think the best is to use a generic NPM module like JSdiff However, this require time to integrate. I'm busy at the moment :/ |
@Nicolab I'm interested why to not make git repo for all your folders, and make autocommits. git isn't dependency - it's should be installed to install atom (or on Windows it's untrue?) |
Maybe it would be interesting to choose with difftoolcommand. So, a custom command that launches the diff view in Atom (same way as Meld). Concerning the autocommit, I don't know if it's necessary. Maybe be yes but this strategy requires lots of code change. |
Using external diff tool isn't ok because it can not be updated instantly. I think it's boring to open history files one-by-one. And why local history isn't incorporated into text-buffer directly it's very frustrating to loose history when you restart atom. In vim constant history is in core. Do you investigate this before starting your plugin? |
@terraqout This. Perserving undo when files are reopened, trees, time based undo. All things I have yet to get used to not having. This should probably be a separate repo though. |
No, because it's not the goal. The goal is only to save the file revision (not the buffer revision).
👍 |
Just to follow the track:
|
There should be a command to easily restore a file. The current file will of coarse be added to the history.
I'll probably build this when I have a moment.
The text was updated successfully, but these errors were encountered: