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

            Bug ID: 475215
           Summary: LSP: copying nested diagnosics
    Classification: Applications
           Product: kate
           Version: 23.08.1
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: groszdaniel...@gmail.com
  Target Milestone: ---

Created attachment 162087
  --> https://bugs.kde.org/attachment.cgi?id=162087&action=edit
Screenshot

SUMMARY
When there are diagnostic messages nested in another message (see screenshot; I
don't know what they are called in LSP terminology) there is no option in the
context menu to copy the nested diagnostic. Also, there is a Copy option in the
context menu of the parent, but it only copies the parent, so there is no way
to copy the child.

- There should be a Copy option in the context menu of the nested message.
- Perhaps the Copy option of the parent should copy the descendants as well, or
there should be a separate option to copy it along with the descendants. This
would make it easier when there are many nested messages.

STEPS TO REPRODUCE
1. Produce code that results in nested diagnostics.
2. Right-click the nested diagnostic.
3. Right-click the parent diagnostic, and click Copy.

OBSERVED RESULT
After 2: No Copy option.
After 3: only the parent is copied.

EXPECTED RESULT
After 2: There's a Copy option.
After 3: Perhaps the nested message(s) are copied as well, in separate lines.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231001
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-1-default (64-bit)
Graphics Platform: X11

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

Reply via email to