lexical-lsp / lexical

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

Alias range #715

Closed scohen closed 2 months ago

scohen commented 2 months ago

When doing refactor operations like organize imports, it would be helpful if we could get the entire range for an alias, because if we do, replacing the alias is a trivial matter of replacing the range with an empty string. Previously, aliases just had a line number, but this won't work for aliases with blocks.

scohen commented 2 months ago

Note, this is for after the 0.6 release.