> Michael Van Canneyt <mich...@freepascal.org> hat am 23. Februar 2014 um 21:05 > geschrieben: > [...] > When you press shift-ctrl-c to add a new method or function, the ide also > corrects casing or other 'small' > discrepancies between interface and implementation. > > While in principle, I am very much a fan of this feature, it is very annoying > when you edit > older sources in a versioned file: all of a sudden a huge diff is created > which hides the > 'real' change between all kinds of cosmetic diffs.
It's not so sudden any more. The source editor shows yellow and green spot on the right bar. > For example, I added a function to the fpcunit unit of FPC. I declared the > function, pressed > CTRL-shift-C so the IDE would complete it, and add 1 line of code. The result > is a 60-line diff > with 5 lines of real changes, and +/- 55 lines of bogus "changes" (mostly > casing, sometimes whitespace). > > stuff like (see if you spot the difference, sometimes it's real hard): > > -class procedure TAssert.AssertTrue(const AMessage: String; ACondition: > Boolean); > + > +class procedure TAssert.AssertTrue(const AMessage: string; ACondition: > boolean); > > Is there by any chance a way to disable this behaviour ? Options / Codetools / Class Completion / Update all method signatures. Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus