Bug 133182

Summary: Editor indentation style differs from KDevelop's indentation style
Product: [Applications] kdevelop Reporter: Christian Schneider <mail>
Component: AstyleAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 3.3.92   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian Schneider 2006-08-29 14:27:01 UTC
Version:           3.3.92 (using KDE 3.5.4, compiled sources)
Compiler:          gcc version 3.4.4
OS:                Linux (x86_64) release 2.6.16.22

I've configured the editor to use C-style indentation. When I type in a class declaration, I get this indentation:

class Foo
{
    public:
        Foo();
}

The indentation settings in KDevelop are set to not indent the "public" keyword. When I run the code reformater, I get the correct result:

class Foo
{
public:
    Foo();
}

Is there any way to synchronize the behaviour of the editor with the source code formater to get the correct indentation style while typing?
Comment 1 Amilcar do Carmo Lucas 2006-08-29 15:14:27 UTC
> Is there any way to synchronize the behaviour of the editor with the source code formater to get the correct indentation style while typing?
No.
Comment 2 Matt Rogers 2006-10-15 07:27:59 UTC

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