gleam-lang/gleam

LSP: Rename modules

Chiusa

#4370 aperta il 18 mar 2025

 (7 commenti) (3 reazioni) (0 assegnatari)Rust (960 fork)batch import
help wanted

Metriche repository

Star
 (21.417 stelle)
Metriche merge PR
 (Merge medio 10g 19h) (69 PR mergiate in 30 g)

Descrizione

Given a file called foo.gleam, (module name foo), and lots of other modules that have import foo and also call foo.stuff().

When foo.gleam gets renamed, we can give the user a choice to auto-rename all references and imports.

We may also want to have a rename module code action when on top of a module reference or import, which would need to also rename the file.

Guida contributor