haskell/haskell-ide-engine

Automatic extension detection from package.yaml for Floskell

Open

#1.506 geöffnet am 29. Dez. 2019

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (205 Forks)batch import
good first issue

Repository-Metriken

Stars
 (2.358 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I have several extensions enabled in my package.yaml file in the default-extensions field (e.g. DerivingStrategies), so floskell fails to parse the source file (on seeing deriving stock for example) and reports a syntax error.

Is there any possibility that we automatically detect the default-extensions field in package.yaml file and pass them to floskell? Or perhaps by default enabling some extensions that in general don't break otherwise well-formed programs (e.g. DerivingStrategies, StandaloneDeriving, etc.)?

Contributor Guide