im using clion to program rust (latest versions of clion and rust plugin https://plugins.jetbrains.com/plugin/8182-rust). im trying to get inferred types to show up automatically in the editor fx.
let x: *i32* = 1;
where the "i32" is inferred when i write "let x = 1;". this however does not happen, i only get to see the "i32" when mouse hovering over the "x" but the "i32" is not (dynamically) inserted into the code. i have enabled all the "hints" in clion preferences but nothing works, any ideas? do i need another plugin to make this happen? thanks
I think what you are looking for is "Inlay Hints", which should be enabled by default.
The option is in Settings -> Editor -> Inlay Hints -> Rust -> Type hints