You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renaming fields with Rust Analyzer unfortunately doesn't cause getter/setter methods to be renamed, due to the nature of the macro. Any tips for refactoring?
The text was updated successfully, but these errors were encountered:
Due to inherent limitations in Rust-style macros, precise renaming isn’t possible. I usually work around this by either using a search-and-replace tool (like sed or an IDE's regex feature) or by creating a dummy function and renaming that.
Renaming fields with Rust Analyzer unfortunately doesn't cause getter/setter methods to be renamed, due to the nature of the macro. Any tips for refactoring?
The text was updated successfully, but these errors were encountered: