Yes, that is an important limitation of Revise that I hope goes away.
Until then, consider this work-around: https://github.com/BeastyBlacksmith/ProtoStructs.jl
That's definitely a problem. I work around by naming all my structs with a `_1` suffix and `%s/_1/_2/g` (VIM find-replacing) every time a struct changes. Otherwise I find Revise works great.
Re:Julia 1.6 addresses latency issues
by fishmaster on Wednesday May 26, 2021 @09:29AM
(#27290231)
Wrap it in a module, then you can change it without any problems. It's not ideal, but it works very well in practice.
Revise can’t change structs in modules either. The only sane way I’ve found to handle this is using a Pluto notebook. But that’s not for everybody.
Re:Julia 1.6 addresses latency issues
by fishmaster on Thursday May 27, 2021 @02:40PM
(#27306531)
I can definitely redefine a struct in a module.
Try changing a struct.