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

            Bug ID: 486939
           Summary: Outdated Link in Kate LSP Client Plugin
    Classification: Applications
           Product: kate
           Version: 24.02.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: yun...@proton.me
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
The default LSP setting for C is using an outdated link:
https://clang.llvm.org/extra/clangd/
It should be: https://clangd.llvm.org/ 

STEPS TO REPRODUCE
1. Enable LSP Client plugin in Kate -> Settings -> Configure Kate -> Plugins 
2. Open Kate -> Settings -> Configure Kate -> LSP Client -> Default Server
Settings 
3. find the server for C and the url field

OBSERVED RESULT
It is an outdated url.
    {
        "servers": {
            "c": {
                "command": ["clangd", "-log=error", "--background-index",
"--limit-results=500", "--completion-style=bundled"],
                "commandDebug": ["clangd", "-log=verbose",
"--background-index"],
                "url": "https://clang.llvm.org/extra/clangd/";,
                "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
            },
        }
    }

EXPECTED RESULT
    {
        "servers": {
            "c": {
                "command": ["clangd", "-log=error", "--background-index",
"--limit-results=500", "--completion-style=bundled"],
                "commandDebug": ["clangd", "-log=verbose",
"--background-index"],
                "url": "https://clangd.llvm.org/";,
                "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$"
            },
        }
    }

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora Linux 40
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION

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

Reply via email to