zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.75k stars 3.14k forks source link

rust: unexpected completion menu item order #9342

Open kzhui125 opened 8 months ago

kzhui125 commented 8 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

pub struct Test {
    s_word: String,
    word_dictionary: String,
}

impl Test {
    pub fn f1(&self) {
        self.w
    }
}

Zed:

image

VSCode:

image

I expect word_dictionary to be the first choice.

Environment

Zed: v0.126.2 (Zed) OS: macOS 14.4.0 Memory: 32 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

nervenes commented 8 months ago

this and this are really major pain points for me when using zed, really hope these two issues gets fixed soon! \:)

Moshyfawn commented 8 months ago

Related to the previously closed #5013.

github-actions[bot] commented 1 month ago

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!

nervenes commented 4 weeks ago

Still an issue