Bug 133182 - Editor indentation style differs from KDevelop's indentation style
Summary: Editor indentation style differs from KDevelop's indentation style
Status: RESOLVED DUPLICATE of bug 111205
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (show other bugs)
Version: 3.3.92
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 14:27 UTC by Christian Schneider
Modified: 2006-10-15 07:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***