lexical-lsp / lexical

Lexical is a next-generation elixir language server
779 stars 77 forks source link

Support for renaming fields in structs #712

Open scottming opened 2 months ago

scottming commented 2 months ago

For those who frequently use structs, renaming struct fields is a common occurrence and manually changing them can be cumbersome. If we can support this after functions and modules, it would be very convenient.

However, handling structs generated by custom macros or Ecto Schema might be a bit tricky, but I think we can start with structs from defstruct.