There is a number of the completion issues with the primitives. It would be good to stub the completion somehow if the macros expansion is not coming soon.
let max = std::u32::MAX; and similar are not autocompleted and it's not possible to navigate to their values.let a: i32 = 42; there's no autocompletion for methods such as pow, to_stringIt's hard to say what other methods are missing, but having those would be awesome already.
Especially for numbers all mathematical functions like abs() and sin() are nice to have. I expected it to work when enabling macro expansion in the settings, but I still only see

@itmuckel What macro expansion engine did you enable?
Currently, we have two options:
impl blocks generated by macros so the plugin doesn't provide any methods generated by macros during the code completionimpl blocks so name resolution/code completion should work as expected when this option enabled
I had that enabled. The problem was that I aborted the macro expansion in the past. I reset the Toolchain location and then the macro expansion restarted. Now everything works fine. Thank you!
Most helpful comment
@itmuckel What macro expansion engine did you enable?
Currently, we have two options:
implblocks generated by macros so the plugin doesn't provide any methods generated by macros during the code completionimplblocks so name resolution/code completion should work as expected when this option enabled