rls
rls copied to clipboard
Not work for 'pub use' type method !
just like the tokio's code see this tokio's time mod.
mod delay;
pub use delay::{delay_for, delay_until, Delay};
when need call the pub use method 'delay_for' we write in your Clion or VSCode:
tokio::time::delay_
But ! the IDE do not tip me have func delay_for. Unless you change the module to pub and call it according to path example: So I have to check tokio documents every time when i write delay,it' s so bad.....
I can replicate this in 1.41.0.
I can replicate this in 1.41.0.
how? The problem is code generated using macros!
Create a new project, add a reference to noise
(https://github.com/Razaekel/noise-rs).
Enter use noise::
and notice that no completion is offered for noise::Perlin
.
noise::Perlin
is re-exported from the noise_fns
module via pub use noise::noise_fns::*
and RLS can't find it.