Comment 3 for bug 259221

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 259221] Re: Auto complete in commit dialog does not look at changes made (only files names)

Nicholas Allen пишет:
> Could you not just parse the diffs and extract words separated by
> punctuation and white space? This would be independant of whatever
> language the source file was written in. Obviously one would want to
> filter common words like and if not or etc but otherwise I don't see why
> this can't be done generically.

This solution will fail in many case. E.g. I change something inside function.
In this case the *name* of this function most likely will be out of diff hunk.
And therefore auto-complete will not suggest me its name.