Bug 469838 - Regression: Kate LSP client (Rust analyzer) does not autofill arguments and return types
Summary: Regression: Kate LSP client (Rust analyzer) does not autofill arguments and r...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 23.04.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-16 07:25 UTC by Marián Konček
Modified: 2023-09-08 05:56 UTC (History)
0 users

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


Attachments

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