Exafunction / codeium.el

Free, ultrafast Copilot alternative for Emacs
https://www.codeium.com
MIT License
412 stars 13 forks source link

Code isn't suggested inline #89

Open joshniemela opened 6 months ago

joshniemela commented 6 months ago

I followed the installation instructions for doom emacs and used the example configuration as is. image The suggestions appear in a dialog box instead of inline even though the use-dialog-box is explicitly set to nil.

markasoftware-aqtc commented 6 months ago

You need to add one of the "preview" frontends to the company-frontends variable, see https://company-mode.github.io/manual/Frontends.html. My preferred setup for using codeium is (setq company-frontends '(company-pseudo-tooltip-unless-just-one-frontend company-preview-frontend); this will always display an inline preview of the first suggestion while also giving the dropdown for other suggestions.