;;; jerry-cedet.el --- cedet-ECB,semantic的设置
;;
;;; Code:
;;模板文件目录
(setq template-home-directory "~/lib/templates")
;;导入CEDET的各个插件
;;
;;Load CEDET
(load-file "~/lib/emacs-lisp/cedet-1.0pre4/common/cedet.el")
;;Eieio
(add-to-list 'load-path (expand-file-name "~/lib/emacs-lisp/cedet-1.0pre4/eieio"))
;;Semantic
(add-to-list 'load-path (expand-file-name "~/lib/emacs-lisp/cedet-1.0pre4/semantic"))
;(load-file "~/lib/emacs-lisp/cedet-1.0pre4/eieio/eieio.el")
(require 'cedet)
;; Enabling various SEMANTIC minor modes. See semantic/INSTALL for more ideas.
;; Select one of the following
;; (semantic-load-enable-code-helpers)
;; (semantic-load-enable-guady-code-helpers)
;; (semantic-load-enable-excessive-code-helpers)
;; Enable this if you develop in semantic, or develop grammars
;; (semantic-load-enable-semantic-debugging-helpers)
;; ---------------------------------------
;; 配置 Emacs Code Browser
(add-to-list 'load-path
"~/lib/emacs-lisp/ecb-2.32")
(require 'ecb)
;;配置Sementic的检索范围
(setq semanticdb-project-roots
(list
(expand-file-name "/")))
;;配置semanticdb分析文件的目录
(setq semanticdb-default-save-directory
(expand-file-name "~/.emacs.d/semantic.cache/semanticdb"))
(provide 'jerry-cedet)
;;; jerry-cedet.el ends here
No comments:
Post a Comment