haskell-ide-engine icon indicating copy to clipboard operation
haskell-ide-engine copied to clipboard

completion usability with haskell keywords

Open alanz opened this issue 4 years ago • 1 comments

Scenario: I have decided to add a where clause

Actions

  • type where
  • hit enter.

Instead of going to the next line and letting me continue, I get whatever the top completion suggestion is based on that prefix.

Ditto with let.

Using emacs with lsp-mode and company.

We should disable completions when fully recognising a keyword.

See also #953

alanz avatar Mar 08 '20 12:03 alanz

I use this workaround in spacemacs:

(auto-completion :variables
                   auto-completion-enable-snippets-in-popup t
                   auto-completion-enable-sort-by-usage t
                   auto-completion-tab-key-behavior 'complete  ;; complete with TAB
                   auto-completion-return-key-behavior nil     ;; disable RET
                   auto-completion-enable-help-tooltip t
                   auto-completion-use-company-box t
                 :disabled-for org erc)

asadoll avatar Mar 17 '20 11:03 asadoll