This isn’t a strict bug request, but I’m curious how others deal with this.
I am using CLion with the Intellij Rust plugin (https://intellij-rust.github.io/) and am loving it. It’s come a log way in the last year.
I’m also using several crates with derive. Specifically serde (duh) and builder (https://github.com/colin-kiegel/rust-derive-builder).
However, I’ve found that any code generated by procedural macros (impls or even full structs) are never indexed by the IDE for autocompletion. This makes sense – there is nothing actually there for the IDE to index. I’ve tried a few IDEs with no success.
I also found https://github.com/intellij-rust/intellij-rust/issues/1786 which confirms my suspicion that indexing generated code is really hard.
I’m curious if anyone has found a workaround for this. Or do we just live with no autocompletion like back in the 80’s (when I started on Windows Notepad – not even Notepad++).