https://bugs.kde.org/show_bug.cgi?id=317299
--- Comment #18 from Igor Kushnir <igor...@gmail.com> --- (In reply to Piotr Mierzwinski from comment #17) > Just found the issue, where your suggestion about skipping formatting > doesn't work how we expected. > Namely, in case of 'Adapt signature', where I supposed that formatting is > applied automatically I wanted to skip it so I set kdev_format_source > without linked file. And unfortunately formatting happened partially. I mean > that in this case indicator of reference or pointer was moved next to type, > if originally was present next to name of argument. > I made test with updating definition of method and in declaration these > indicators were modified, but space didn't touch. I suppose this is exactly what I surmised in an earlier comment: > In case when more code is generated, KDevelop must ensure > that it is not formatted in some fixed-for-all-IDE-users style chosen by > KDevelop > developers, but in the style the user selected for the current > session/project. Probably KDevelop generates new code for your signature in a predefined hard-coded style, then tries to format it in your chosen style and fails, leaving the signature in the hard-coded style. Please try to configure Artistic Style, uncrustify, clang-format or kdev_format_source to match your code formatting as I suggested in my long comment above. See if KDevelop's formatting matches your expectations then. Or is your code formatted so heterogeneously and unsystematically that even fine-grained kdev_format_source configuration is very time-consuming/impossible? -- You are receiving this mail because: You are watching all bug changes.