[Github-comments] [geany/geany] refactoring mode in geany (#2037)

laoshaw notifications at xxxxx
Thu Jan 3 20:11:43 UTC 2019


Is it possible to add a refactoring flag to geany in that:

if it is in refactoring mode than we can reformat the original code(along with my new code changes) based on newline/tab-space/rules in geany at either editing time, or saving time, or both.

if it is in non-refactoring mode, then our new added code can follow whatever format rules defined by geany, however, the previous code base, even though its format is messy, we don't reformat them to avoid a noisy diff file. For example, I have a 1000 lines of messy.c code, I added 100 lines on top of that, only the 100 lines will have new formats but the old 1000 lines will not be reformatted by geany in anyway, so my git-diff/svn-diff do not lose focus when old code is involved, which is the majority of the time these days.

I see no editor can do this

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2037
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190103/d7ff5334/attachment.html>


More information about the Github-comments mailing list