scalameta/metals
Voir sur GitHubClean constructor parameters for `Indexer` and `ScalaCli`
Open
#4 788 ouverte le 1 janv. 2023
good first issueimprovementtech debt
Métriques du dépôt
- Stars
- (2 300 stars)
- Métriques de merge PR
- (Merge moyen 3j 11h) (122 PRs mergées en 30 j)
Description
Another follow up after https://github.com/scalameta/metals/pull/4776.
There's need to pass every constructor argument as a function in scala.meta.internal.metals.Indexer and scala.meta.internals.ScalaCli
- Usually, replacing
() =>, should be straighforward change, but sometimes() =>was used to capture mutable state. - probably
IndexerandScalaCliaren't the only ones which can be refactored. Person doing this task can browse other classes (optional)