scalameta/metals

Clean constructor parameters for `Indexer` and `ScalaCli`

Open

#4.788 geöffnet am 1. Jan. 2023

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (421 Forks)batch import
good first issueimprovementtech debt

Repository-Metriken

Stars
 (2.300 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 11h) (122 gemergte PRs in 30 T)

Beschreibung

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 Indexerand ScalaCli aren't the only ones which can be refactored. Person doing this task can browse other classes (optional)

Contributor Guide