Bug 469838

Summary: Regression: Kate LSP client (Rust analyzer) does not autofill arguments and return types
Product: [Applications] kate Reporter: Marián Konček <koncek.marian>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 23.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 23.04.3
Sentry Crash Report:

Description Marián Konček 2023-05-16 07:25:54 UTC
SUMMARY
After and update in Fedora 38, this feature no longer works.
I tried downgrading all rust* + cargo* packages, the issue remained. After downgrading Kate, the feature worked again.
Version known working: 22.12.3
Version known not working: 23.04.0

STEPS TO REPRODUCE
1. Open and Rust project in Kate with LSP plugin active and rust-analyzer binary available
2. In the following code:
```
struct S {}
impl Drop for S
{
    <CURSOR HERE>
}
```
press Ctrl + Space to force autocompletion menu.
In Kate version 22.12.3, it would autofill this string `fn drop(&mut self) {`.
In Kate version 23.04.0, it would autofill this string `fn drop(..)`.

OBSERVED RESULT
Arguments and return types of implemented methods are missing.

EXPECTED RESULT
Arguments and return types of implemented methods should be autofilled.

SOFTWARE/OS VERSIONS
Linux: Fedora 38
Comment 1 Marián Konček 2023-09-08 05:55:54 UTC
This seems to be fixed as of version 23.04.3.