https://bugs.kde.org/show_bug.cgi?id=317299

Igor Kushnir <igor...@meta.ua> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor...@meta.ua

--- Comment #4 from Igor Kushnir <igor...@meta.ua> ---
I can reproduce this bug with some formatter styles, but don't think it's easy
to fix. KDevelop intentionally applies selected style reformatting when the
user refactors the code, e.g. renames a variable.

The relevant KDevelop code actually has a very poor performance: it reformats
the whole file for each use of the variable being renamed just to "fix
according to the selected style" the whitespaces around the variable names it
changes. I hope this code will be thrown out in favor of a better clang-format
implementation in the future.

As a workaround just pick a style where the spaces don't get inserted in your
code. The Qt Artistic Style works for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to