strum icon indicating copy to clipboard operation
strum copied to clipboard

strum_macros::Display not detected in IDE (IntelliJ)

Open david-bouyssie opened this issue 3 years ago • 1 comments

Hi there.

I'm using the IntelliJ IDE and I have an issue regarding the use of strum_macros::Display. While I'm able to compile and execute my rust code correctly, I have remaining errors displayed in the IDE like: MyEnum` doesn't implement `Display` (required by {}).

Also the .to_string() conversion is not suggested automatically by the IDE. It looks like the macro is not well interpreted by the IDE. Is it something you already observed?

Thanks.

david-bouyssie avatar Apr 28 '21 15:04 david-bouyssie

JB Rust plugin in general doesn't seem to work with any sort of #[derive] macro. Little to do in the crate itself.

jaskij avatar Feb 26 '22 00:02 jaskij

Closing this because I'm not aware of much that can be done from the crate itself.

Peternator7 avatar Oct 02 '22 19:10 Peternator7