https://bugs.kde.org/show_bug.cgi?id=370715
Bug ID: 370715 Summary: C++/boost indentation style is broken with automatic closing brackets Product: kdevelop Version: 5.0.1 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: ident Assignee: kdevelop-bugs-n...@kde.org Reporter: jbev_kdebugs...@refining-linux.org When automatic placement of closing brackets is enabled, the C++/boost indentation style is broken. When I enter an opening brace for a function body, it is completed with a semicolon before the cursor instead of a closing brace after the cursor. This can be tested with the following code (I denoted the current cursor position with a pipe character |): class Foo { public: void foo() | }; Now when I type an opening brace after foo(), the result is this: class Foo { public: void foo() {;| }; although it should be this: class Foo { public: void foo() { | } }; With plain C style, it works, however then the indentation is wrong as both the opening and the closing brace are automatically unindented: class Foo { public: void foo() { | } }; Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.