https://bugs.kde.org/show_bug.cgi?id=384845

            Bug ID: 384845
           Summary: Multiline comments are reformatted incorrectly when
                    using tab to indent blocks of code
           Product: kdevelop
           Version: 5.1.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: PHP
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: jan.pavli...@centrum.cz
  Target Milestone: ---

Created attachment 107903
  --> https://bugs.kde.org/attachment.cgi?id=107903&action=edit
Visual animated description of the problem

Hello,

the gif in the attachement says it all. When I have a multiline comment in a
PHP code, kdevelop formats it correctly when typing - that is write "/*" on the
first line, hit enter and the next line is automaticaly indented bellow the
"*". 

But when I select multiple lines with such comment blocks on them and hit tab
to indent (or shift+tab to deindent), the comment formatting gets messed up,
putting all the asterisks bellow the "/" in the first line. This is still valid
code but a nightmare for version control.

I use kdevelop from archlinux packages, latest version, with the C style
indenter.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to