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

            Bug ID: 425229
           Summary: Brackets are not automatically expanded on return in
                    Rust files
           Product: kate
           Version: 20.04.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: robuba...@gmx.ch
  Target Milestone: ---

SUMMARY

In Rust files, when I write e.g. a new function, if statement or for loop, the
curly brackets are not automatically expanded as they do in *.c files, for
example.

STEPS TO REPRODUCE
1. Create new *.rs file
2. Enter something like 'fn test(){}'
3. With the cursor inside the curly brackets hit return

OBSERVED RESULT

fn test(){
}

EXPECTED RESULT

fn test() {
    (with indentation)
}

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0

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

Reply via email to