html-to-elm icon indicating copy to clipboard operation
html-to-elm copied to clipboard

Let the user choose the imports

Open sebsheep opened this issue 6 years ago • 0 comments

Currently, the program suppose the following imports

import Html exposing (..)
import Html.Attributes exposing (..)

(maybe the same with Events)

In my codes, I'm doing import Html exposing (..) a lot but almost never import Html.Attributes exposing (..).

It would be nice if the program let the user choose what kind of import he wants. It may be limited choices like :

  • first radio group : " import Html exposing (..) or import Html"
  • second radio group : "import Html.Attributes exposing (..)" or "import Html.Attributes" or "import Html.Attributes as Attributes"
  • the same for Events.

sebsheep avatar Jul 20 '19 17:07 sebsheep