| Summary: | Editor indentation style differs from KDevelop's indentation style | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Christian Schneider <mail> |
| Component: | Astyle | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.3.92 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
> 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.
|
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?