Bug 486939 - Outdated Link in Kate LSP Client Plugin
Summary: Outdated Link in Kate LSP Client Plugin
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.02.2
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-12 22:28 UTC by yuntaz
Modified: 2024-05-25 16:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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