Emacs 24内置cedet功能亮点 [英] Emacs 24 builtin cedet function highlight

查看:83
本文介绍了Emacs 24内置cedet功能亮点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想摆脱以上功能的下划线,
例如,如上图void上面的截图所示:

I want to get rid of the underline above functions, e.g., as shown in this screenshot above "void":

http://cedet.sourceforge.net/img-gen/semantic-ia-complete- menu.png

我在文档中找不到任何明显的东西,
但是我甚至不知道在第一名。
(函数标记,下划线,...)

I cannot find anything obvious in the documentation, but heck, I don't even know what to search for in the first place. ("function marker", "underline", ...)

我设置了这样的cedet:

I set up cedet like this:

;; cedet
(require 'semantic)
(require 'semantic/sb)
(require 'srecode)
(global-ede-mode 1)
(semantic-mode 1)
(global-semanticdb-minor-mode 1)
(global-semantic-idle-scheduler-mode 1)
(global-semantic-idle-completions-mode 1)
(global-semantic-decoration-mode 1)
(global-semantic-highlight-func-mode 1)
(global-semantic-stickyfunc-mode -1)
(global-semantic-idle-summary-mode 1)
(global-semantic-mru-bookmark-mode 1)
(semanticdb-enable-gnu-global-databases 'c-mode)
(semanticdb-enable-gnu-global-databases 'c++-mode)
(set-default 'semantic-case-fold t)

$ b $有人可以指向正确的方向吗?

Can someone point me in the right direction?

谢谢,
Mario

Thanks, Mario

推荐答案

这是通过语义装饰模式完成的,所以要么完全禁用它,要么修改标签边界的面。为了找出你需要修改的面,请移动到该位置,然后执行

This is done by the semantic-decoration-mode, so either disable it completely or just modify the face for tag boundaries. For finding out which face you have to modify, move to the position and do

Cu Cx =

看看脸部叠加(这应该是语义标签边界面)。然后,您可以通过点击它或通过

and look at the face overlays (this should be semantic-tag-boundary-face). You can then customize it by clicking on it or via

定制它。M-x自定义面RET RET语义标签边界面RET

M-x customize-face RET semantic-tag-boundary-face RET

这篇关于Emacs 24内置cedet功能亮点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆