gleam-lang/gleam
Voir sur GitHubLSP module auto-import: handle module name collisions
Open
#3 269 ouverte le 12 juin 2024
help wanted
Métriques du dépôt
- Stars
- (21 417 stars)
- Métriques de merge PR
- (Merge moyen 10j 19h) (69 PRs mergées en 30 j)
Description
Follows on from https://github.com/gleam-lang/gleam/pull/3219
It is possible for the LS autocompletion to add an import using a name that is already taken, causing a compile error.
How should we avoid this? Could we prompt the programmer for a name to use instead? Or do we generate a name?