Bug 486939

Summary: Outdated Link in Kate LSP Client Plugin
Product: [Applications] kate Reporter: yuntaz
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description yuntaz 2024-05-12 22:28:08 UTC
***
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
Comment 1 Christoph Cullmann 2024-05-25 16:01:44 UTC
Git commit b1d3f72fe966f420070b1f317110183148ba5f0a by Christoph Cullmann.
Committed on 25/05/2024 at 16:01.
Pushed by cullmann into branch 'master'.

update clangd homepage

M  +1    -1    addons/lspclient/settings.json

https://invent.kde.org/utilities/kate/-/commit/b1d3f72fe966f420070b1f317110183148ba5f0a