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

            Bug ID: 462323
           Summary: [LSP plugin] Auto import feature not working for
                    typescript-language-server
    Classification: Applications
           Product: kate
           Version: 22.08.3
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: arnaud.verg...@mailo.com
  Target Milestone: ---

SUMMARY

When using the LSP plugin with the typescript-language-server
(https://github.com/typescript-language-server/typescript-language-server),
there is no way to import missing names. The "Add imports automatically if
needed upon completion" option for the plugin does nothing, and there are no
code actions available to import missing names.

STEPS TO REPRODUCE
1. Install typescript-language-server
(https://github.com/typescript-language-server/typescript-language-server)
2. Enable the Kate LSP plugin
3. Open a nodejs project
4. Write the name of an object exported in an other file
5. Notice how there is no way to add the import automatically

OBSERVED RESULT

Imports are not added upon completion and there are no code actions available
for this.

EXPECTED RESULT

Imports should be added automatically upon completion if the option "Add
imports automatically if needed upon completion" is set and there should be a
code actions available when selecting a missing name.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.8-1-MANJARO (64-bit)

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

Reply via email to