我正在尝试使用Emacs,因为它看起来比Notepad++好一点。
我正在尝试使用代码完成功能(又名intellisense),但不知道如何做到这一点。
首先,我输入M-x,然后输入eval-expression,然后在迷你缓冲区中输入
(print (font-family-list))
因此,我输入(print (font-f,然后按TAB,得到一个窗口,其中包含以下内容:
Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.
Possible completions are:
font-face-attributes
font-family-list我可以用鼠标点击第二个选项(font-family-list)。但是如何使用我的键盘来选择这个选项呢?快捷键是什么?
发布于 2015-04-21 10:01:06
您可以拥有更好的完成系统,但不能在您使用eval-expression或M-:调用的迷你缓冲区中。
我建议您使用M-x ielm调用交互式的下一个elisp。现在您可以启用company-mode的完成,它带来了如下内容:

安装公司,在蜜瓜中
package-install RET company RET当你想要的时候叫它:
M-x company-mode您会注意到它在shell和其他语言中工作:)
https://stackoverflow.com/questions/29752415
复制相似问题