Skip to content

rust-analyzer doesn't work most of the time on 23.03 #6505

Closed
@0x00A

Description

Summary

After updating to 23.03 today, I noticed that rust-analyzer doesn't work with helix most of the time, go-to definition, doc for item under cursor etc. rarely works, then you restart helix or do :lsp-restart and it works or doesn't. This is not the case with 22.12 which I have used daily since it was released. I tested again with the 22.12 and it works as expected each time.

Reproduction Steps

# src/main.rs

fn main() {
    let _ = foo(32);
}

pub fn foo(n: i32) -> i32 {
    n
}
  1. hx src/main.rs
  2. move to foo
  3. <space>k

I expected this to happen:

popup with the relevant info

foo

pub fn foo(n: i32) -> i32

Instead, this happened:

Nothing

Helix log

broken: helix 23.03.log
working helix 22.12.log

Platform

Windows 10 22H2 (19045.2728)

Terminal Emulator

Windows Terminal Version: 1.16.10261.0, wezterm 20221120-093910-0bf36e5a

Helix Version

helix 23.03 (3cf0372)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions