Emacs autocomplete

Has anyone managed to get emacs autocompletion on tidal code? I gave a quick try running lsp-haskell but didn't get anything to work properly yet.

1 Like

I'm using company but the way it does it is not entirely satisfying (I sometimes would like it to autocomplete things but it doesn't). I've been putting off digging into that, so, if you make it work, I'm interested!

Still an issue? I also have company mode running with an extended version of

2 Likes

In case anyone is interested, here is my Emacs configuration for that:

(use-package company-tidal-backend
  :load-path "~/path/to/folder/where/company/file/lives"
  :init (add-to-list 'company-backends 'company-tidal-backend)
)

In my case I also had to add

(company-box-mode -1)

because otherwise the autocompletion display was faulty.

Unfortunately my Emacs has somehow problems with Tidal. Even though I am unhappy with that, I gave Atom a try, which for now seems to work without problems.

I'm trying to get this to work in doom emacs.
I added (package! company) to my packages.el and ran doom sync
I saved the company-tidal-backend.el to may system and referred to it in the

(use-package company-tidal-backend
  :load-path "~/path/to/folder/where/company/file/lives"
  :init (add-to-list 'company-backends 'company-tidal-backend)
)

in my packages.el but no go

how can I do this?