https://bugs.kde.org/show_bug.cgi?id=299094 Bug ID: 299094 Severity: normal Version: 4.2.0 Priority: NOR Assignee: kdevelop-bugs@kdevelop.org Summary: Custom source formats are saved per session only Classification: Unclassified OS: Linux Reporter: pae9@leicester.ac.uk Hardware: openSUSE RPMs Status: UNCONFIRMED Component: astyle Product: kdevelop When a custom source formatting style is defined, it seems to only exist in the specific session it was created for, and is ignored by default when that session is reloaded. To reproduce Create a new session & project Settings -> Configure Kdevelop -> Source formatter Click "new", and add a new style, called, e.g. "TESTME" Give it some settings. Either close kdevelop and re-open, or click "Session -> New" Go the source formatter settings: "TESTME" will not be present as an option. Also: close kdevelop. Reopen it and load the session in which the "TESTME" style was created. Open one of your code files covered by the "TESTME" style, and then click on "Edit -> Reformat Source". The source will be reformatted according to the default style, not the TESTME style. I have to go back into the "Configure kdevelop" menu and deselect/reselect the TESTME style each time I reload kdevelop, to ensure that reformatting uses that style, not the default. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs