yasnippet
YASnippet 是 Emacs 的一个缩略词 (abbreviation) 模板替换系统,可以把一个预先设定好的缩略词扩展成模板。
doxymacs
doxymacs : 这是一个按照doxy风格生成注释的工具。使代码可以更方便的生成文档。
auto-complete
;;auto-complete自动补全
(setq ac-dictionary-directories nil)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/auto-complete-1.3/dict")
(require 'auto-complete-config)
(ac-config-default)
(set-default 'ac-sources
'(ac-source-semantic-raw
ac-source-yasnippet
ac-source-dictionary
ac-source-abbrev
ac-source-words-in-buffer
ac-source-words-in-same-mode-buffers
ac-source-imenu
ac-source-files-in-current-dir
ac-source-filename))
;;yasnippet补全
(require 'yasnippet)
(setq yas/root-directory "~/.emacs.d/yasnippet-0.6.1c/snippets")
(yas/load-directory yas/root-directory)
(require 'dropdown-list)
(setq yas/prompt-functions '(yas/dropdown-prompt
yas/ido-prompt
yas/completing-prompt))
阅读(1858) | 评论(0) | 转发(0) |