smjonas / inc-rename.nvim

Incremental LSP renaming based on Neovim's command-preview feature.
MIT License
677 stars 10 forks source link

Support for aliases #65

Open Dexus0 opened 6 days ago

smjonas commented 4 days ago

Could you clarify what you would like to be implemented?

Dexus0 commented 3 days ago

In Rust, you cannot rename the name you import a type as; for example:

use std::vec::Vec as Array;

struct foo<T> {
    vec: Array<T>,
}

You cannot rename the Array type here.