yasnippet:Emacs的模板系统 源码
介绍 YASnippet是Emacs的模板系统。 它允许您键入缩写并自动将其扩展为功能模板。 捆绑的语言模板包括:C,C ++,C#,Perl,Python,Ruby,SQL,LaTeX,HTML,CSS等。 该代码段语法的灵感来自语法,您甚至可以大多数TextMate模板YASnippet。 观看。 安装 安装最新版本 将此存储库克隆到某个地方 $ cd ~/.emacs.d/plugins $ git clone --recursive https://github.com/joaotavora/yasnippet 在.emacs文件中添加以下内容: (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet") (require 'yasnippet) (yas-global-mode 1) 通过在~/.e
下载地址
用户评论