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

            Bug ID: 460769
           Summary: Python source file editing problems
    Classification: Applications
           Product: kdevelop
           Version: 5.9.220802
          Platform: OpenSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: alanjpresc...@gmail.com
  Target Milestone: ---

Something of a vague summary, I know but editing Python sources seems to have
gone slightly borked in the latest release. At least 2 things I have come
across:-

Editing class triple-quoted documentation inserts one or more additional
indents after Enter

Auto-indenting when inserting a Python snippet has been turned back on which
makes an awful mess of inserting anything except the most trivial snippet. This
was a feature I requested as a wishlist item and I was really pleased to see it
implemented so having auto-indenting re-appear is rather annoying.

STEPS TO REPRODUCE
Snippets
1. Insert a multi-line Python snippet with it's own indenting

Triple-quoted class documentation
1. Edit triple quoted class documentation text, press Enter in text

OBSERVED RESULT
Snippets
1. Inserted snippet has additional indenting as if it had been typed by hand

Triple-quoted class documentation
1. Pressing Enter creates a new line indented from the previous line

EXPECTED RESULT
Snippets
Insert the snippet exactly as given or, by preference, all snippet lines
preceded by an indent matching the first line.

Triple-quoted class documentation
On Enter, insert a new line indented the same as the previous line

Operating System: openSUSE Tumbleweed 20221019
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.2-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 81CT
System Version: Lenovo YOGA 730-13IKB
ADDITIONAL INFORMATION

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

Reply via email to