atom-elmjutsu
atom-elmjutsu copied to clipboard
Auto complete for nested constructors
Hi, auto completion currently works for single level types, see Foo
below. But autocomplete for Baz
wouldn't work in the following example
type Foo = Bar Baz
type Baz = A | B | C
viewFoo : Foo -> Html Msg
viewFoo foo =
case foo of
Bar baz ->
case baz of -> .. -- This won't auto complete
Are there plans for this feature?
Thanks for this great plugin :)
Hi @joshhornby, that requires more involved parsing. Right now, only top-level functions are parsed. Might be better to include that in the plans for the Elm Language Server instead since it will require major rearchitecting :smile: