简体   繁体   English

emacs自动完成模式的颜色模式

[英]color schema of emacs auto-complete mode

在此处输入图片说明

I am using auto-complete + jedi in python mode 我在python模式下使用自动完成+绝地武士

And i am wandering how to change the color of the second column in the popup menu? 而且我在徘徊如何更改弹出菜单中第二列的颜色? the yellow one: "function:posix.closerange" 黄色的:“ function:posix.closerange”

also what't yellow popup window on the right side called? 右边的黄色弹出窗口又叫什么呢? And how to change its color? 以及如何改变其颜色?

i found these confing, but they are not what i want 我发现了这些骗局,但不是我想要的

(set-face-background 'ac-candidate-face "white")
(set-face-foreground 'ac-candidate-face "black")
;(set-face-underline  'ac-candidate-face "blue")

;(set-face-background 'ac-selection-face "cornflowerblue")
(set-face-foreground 'ac-completion-face "purple")
;(set-face-background 'ac-completion-face "green")

Thanks! 谢谢!

They are not auto-complete faces but "popup faces". 它们不是自动完成的面孔,而是“弹出面孔”。

The first face you are looking for is popup-summary-face 您要查找的第一张脸是popup-summary-face

The second face (the one with the yellow background) you are looking to change is popup-tip-face 您要更改的第二张脸(背景为黄色的脸)为popup-tip-face

Just do a Mx customize-face RET popup-summary-face,popup-tip-face and you can play with them. 只需执行Mx customize-face RET popup-summary-face,popup-tip-face ,您就可以使用它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM