Bug 426535

Summary: Indentation when applying renaming solution
Product: [Applications] kdevelop Reporter: Jaka Kranjc <svn>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal CC: igorkuo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaka Kranjc 2020-09-14 18:25:39 UTC
While changing variable names in a project indented with tabs, KDevelop tends to prepend a bunch of extra spaces if it's not done manually. 

STEPS TO REPRODUCE
This is visible via automatic renaming (context menu -> Rename X), but a tiny bit more simply by renaming a variable, switching to one of it's users and then accepting the suggested solution from the popup ("Replace X with Y").

OBSERVED RESULT
3 (!?) spaces are erroneusly prepended to the name (so after the leading tab).

Here's a three-step journey laid bare:
https://imgur.com/a/bMLmxHi

Observed with earlier versions, but it's still there in 5.6.0, so finally got the idea to file a report.
Comment 1 Igor Kushnir 2020-09-15 02:55:50 UTC

*** This bug has been marked as a duplicate of bug 317299 ***