Stream: t-compiler/rust-analyzer

Topic: Special completion handling for "use".

Charles Lew (Dec 15 2019 at 01:05, on Zulip):

Hello, currently rust-analyzer and rls doesn't do the right thing with the autocomplete within use. When i try to write use xxx::macro_foo; auto complete will add extra ! and parenthesis, which is not at all what i want. I wonder if it's possible to do some "context analysis" and provide different completions in this case.

matklad (Dec 15 2019 at 08:55, on Zulip):

Huh? We do exactly that

matklad (Dec 15 2019 at 08:55, on Zulip):


Charles Lew (Dec 16 2019 at 17:49, on Zulip):

Oh really! Maybe my build is a bit outdated. Let me build the newest commit and try again.

Charles Lew (Dec 16 2019 at 18:16, on Zulip):

Yes! the newer version works just as expected, thank you!

Last update: Jul 24 2021 at 21:30UTC