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

            Bug ID: 488077
           Summary: quotes implicitly in "automatically close brackets"
                    feature
    Classification: Applications
           Product: kate
           Version: 24.02.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kwrite
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: subscri...@blackbrook.org
  Target Milestone: ---

SUMMARY
My "Enclosing characters" field in my Settings->Editing Options->General is set
to 
<>(){}[]
But checking the box above it for "Automatically close brackets when opening
bracket is typed" causes the editor to automatically close double (") and
single (') quotes. There are 3 problems with this:
1) these characters are not listing in the "Enclosing characters" field
2) the wording for the checkbox. These characters are not "brackets"
3) Autoclosing quotes should not be a default, nevermind a hidden default. It
is counterproductive and annoying whenever you need to add quotes to existing
text, write an appostrophe etc, which for me is OFTEN.


STEPS TO REPRODUCE
1. Do not have " or ' in the "Enclosing characters" field
2. Check the box for  "Automatically close brackets when opening bracket is
typed"
3. Type a " and observe how it is automatically closed.
4. Uncheck the box for  "Automatically close brackets when opening bracket is
typed"
3. Type a " and observe how it is no longer automatically closed.

OBSERVED RESULT
" and ' are automatically closed or not according to the "Automatically close
brackets when opening bracket is typed" checkbox even if not in the "Enclosing
characters" field

EXPECTED RESULT
" and ' are automatically closed only when the "Automatically close brackets
when opening bracket is typed" checkbox even and included in "Enclosing
characters" field

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

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

Reply via email to