Emacs auto-complete for ESS in tooltip instead of buffer

半腔热情 提交于 2019-12-03 13:18:46

My auto-complete configuration also has

(require 'auto-complete-config)
(ac-config-default)

and after that setting ess-use-auto-complete makes ESS show the popup menus.

So as per your comments it turned out that auto-complete was not enabled in your emacs config. So just enable auto-complete by adding something like this in you init file

(load "auto-complete")
(global-auto-complete-mode)

Also for ESS you will need to set ess-use-auto-complete to t something like following would do

(setq ess-use-auto-complete t)

EDIT: ess-use-auto-complete is by default set to t so this step is not really needed.

Also since you found this option confusing I would recommend you to open an issue on the github repo so that the maintainers can improve the documentation (or code) whichever can reduce the confusion.

Auto-complete has a lot of configuration options do read the manual when you get time.

Glad I could help

Don't confuse eldoc with auto-completion. Eldoc is what you have in your screenshot, it shows all arguments of a function without being intrusive. Auto-completion pops up when you start typing stuff and activates after ac-auto-start characters.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!