haskell/haskell-ide-engine

Completions should be import-aware

Open

#1,263 opened on May 21, 2019

View on GitHub
 (7 comments) (0 reactions) (1 assignee)Haskell (2,358 stars) (205 forks)batch import
good first issuetype: enhancement

Description

If adding a data type that takes a parameter to an import list, the snippet should be empty, and the completion should include (..) if it has subcomponents.

So

  , Foo

Should offer completion of FooBar(..), not FooBar Int or whatever.

Contributor guide