avh4/elm-format

Learn about the IntelliJ requirements for code formatting plugins

Offen

#198 geöffnet am 08.06.2016

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (147 Forks)batch import
IDE integrationhelp wanted

Repository-Metriken

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

Beschreibung

Questions to answer:

  • What are IntelliJ's requirements for supporting code formatting for a language?
  • Supposedly the Haskforce plugin does formatting via an external tool (https://github.com/avh4/elm-format/issues/182#issuecomment-230946090), can that approach be used for the elm plugin? Does the elm plugin author not like that approach, and if so, could a separate elm-format plugin be created?
  • What API needs to be implemented in the IntelliJ plugin?
  • How can we generate the required formatting code from the elm-format source?

Contributor Guide