-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Re-Compare current Compare #44
Comments
Hello Yaron, OK, sounds reasonable, I agree. BR |
Hello Pavel, Thank you very much. I appreciate it. BR |
Hello Yaron, Implemented in master branch. BR |
Thank you, Pavel. (CP 1d3e95a) Great! My typical work flow is compare -> modify -> compare -> modify -> etc. This works a lot better without having to clear-compare before re-comparing. To err is human, apparently I'm the most humane creature on earth. :) It's not uncommon that I unintentionally modify the base file, but fortunately NPP offers "Reload". I was wondering if it might be possible to re-compare automatically if one of the files involved in the compare is reloaded? It would seem to be reasonable and user friendly behaviour? |
Hello @xylographe , It's good that @Yaron10 brought the reload issue forward.
Long live humanity! :) BR |
Hello Pavel and xylographe, Pavel, Thank you very much. I do appreciate it.
Thanks for that too. But unless I'm missing something, xylographe deserves the credit for raising the "Reload from disk" issue. Actually I do deserve some credit for "Reload from disk". I thought about it. :) Anyway - if addressing "Reload from disk" is important to xylographe, that's a good reason to implement it. :) We appreciate your work. Thanks for bringing that up. Best regards. |
Hello @Yaron10 ,
I didn't mean the reload but the "re-compare current compare", sorry for the confusion. @xylographe, BR |
Hello guys, Unfortunately N++ currently doesn't provide file reload notification. I'll see if I can do something anyway but it's going to take a while. BR |
Well, in my case that would only happen if I decided to change the base file to an older/newer version by invoking "git checkout" (or "svn co"). My intention would still be the same: re-compare with the reloaded file to continue the work flow outlined above. However, I understand other users might want to "Clear Compare" on a reload due to external modification. Combined with,
my conclusion has to be: do nothing, let the user decide if they want to continue with clear-compare or re-compare. Both of them are only one shortcut away… @pnedev Thanks to both of you for your input—it's always good to see matters from a different perspective. |
OK @xylographe , we'll leave that for the future then. Thanks. BR |
Hello gentlemen,
I didn't mean that in those cases the Compare should be cleared. Thank you. |
Let's leave the reload and dynamic re-compare for the time all other issues are closed and we are all happy with the current state. Those are pretty tough tasks and will require more thought and concentration. Thank you both for sharing your thought on the subject. BR |
Hello Pavel,
Continued from #29 (comment).
Allow me to suggest a different view:
Personally and based on previous experience I'd rather not have any prompt in this case.
I often make some changes in the files while Compare is active and then I want to re-compare them.
I believe that this would be more common (than accidentally pressing Compare again) for other users as well.
What do you think?
Thank you.
BR
The text was updated successfully, but these errors were encountered: