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

            Bug ID: 507339
           Summary: Multiple cursors breaks autocomplete in JS LSP
                    integration
    Classification: Applications
           Product: kate
      Version First 25.04.3
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: part
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 183411
  --> https://bugs.kde.org/attachment.cgi?id=183411&action=edit
A brief demonstration of the bug

SUMMARY


STEPS TO REPRODUCE
1. Make sure the TypeScript/JavaScript LSP is installed and working
2. Open a JS file in Kate
3. Set multiple cursors, then try to autocomplete an object property

OBSERVED RESULT
On all non-primary cursors, the dot separating the object from its property is
duplicated

EXPECTED RESULT
The autocomplete should be filled in at all cursors exactly like it happens at
the main cursor.

SOFTWARE/OS VERSIONS 
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-200.fc42.x86_64 (64-bit)

ADDITIONAL INFORMATION
It seems to only break on secondary cursors when the suggestion has the purple
or green icon, if the suggestion's icon in the suggestion list is white it
doesn't break. 
Also (I am guessing it's the same bug) when autocompleting private properties,
the # character gets duplicated, but that happens _only_ on the primary cursor,
all secondary cursors get that one right. Also, the dot doesn't get duplicated
in that case on any cursor.

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

Reply via email to