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

            Bug ID: 415847
           Summary: LSP client starts broken LSP server in an infinite
                    loop
           Product: kate
           Version: 19.12.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: m_loui...@yahoo.com
  Target Milestone: ---

SUMMARY

When the LSP server crashes or otherwise closes unexpectedly (eg the Python
server when pyls isn't available), the LSP client plugin will try to restart it
in a loop, causing error message to blink above the editor. This behavior
persists even when the LSP plugin is disabled.

STEPS TO REPRODUCE
1. Make sure pyls isn't installed
2. Enable the LSP plugin
3. Open a Python file
4. (Optional: disable the LSP plugin)

OBSERVED RESULT

The warning "LSP Client: Server terminated unexpectedly: python3 -m pyls
--check-parent-process" blinks above the editor.

Refreshing the document (F5) after disabling the LSP plugin fixes the blinking.

EXPECTED RESULT

A failure message appears after N unsuccessful attempts, prompting the user to
install pyls.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon packages
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION

Neither clangd nor pyls are present in the Neon repos.

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

Reply via email to