From kdevelop-bugs Thu Apr 26 07:56:23 2012 From: Romek Date: Thu, 26 Apr 2012 07:56:23 +0000 To: kdevelop-bugs Subject: [Bug 298804] Context menu option 'Format files' is dangerous Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=133542719515723 https://bugs.kde.org/show_bug.cgi?id=298804 --- Comment #2 from Romek --- Thank you for agreeing on warn dialog. Unfortunately VCS cannot be always used easily to revert changes. In my case, formatting options caused some code to be eg. surrounded by {}. Such change cannot be easily filtered out by telling diff to ignore whitespace changes. So, I would opt for making an option for creating a diff (patch) before executing formatting, and then have an option to revert changes and apply the diff. However I understand this is quite complicated, and there are more important things to be changed prior to this. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs