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

            Bug ID: 384969
           Summary: Python indentation problem: function definition inside
                    class in automatically indented inside previous
                    function
           Product: kdevelop
           Version: 5.1.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: UI: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: lucaspcama...@gmail.com
  Target Milestone: ---

Whenever I have code like this:
'''
class A:

    def a(self):
        print("a")

    def b(self):
'''

Even if I have just pressed shift-Tab to go back an indentation level, as soon
as I start writing the definition of function b, it gets indented to be inside
function a. The same happens if I correct indentation afterwards, and then
correct the line, its indentation level gets bumped up again. This is
unbearably annoying.

The menu Tools>Indentation is indeed in "Python" mode. So this might be a Kate
bug, dunno.

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

Reply via email to