码迷,mamicode.com
首页 > 系统相关 > 详细

vim + DoxygenToolkit.vim环境搭建

时间:2015-11-20 21:38:06      阅读:311      评论:0      收藏:0      [点我收藏+]

标签:

1. :DoxLic --->添加版权
2.   :DoxAuthor---->文件头
3.  :Dox----> 函数注释
 
 
安装过程:
1. 创建目录  ~/.vim/plugin
2. 下载DoxygenToolkit.vim,
3. 将DoxygenToolkit.vim放到~/.vim/plugin
4. 编辑~/.vimrc,添加如下内容

 

"doxygen toolkit 
"let g:DoxygenToolkit_briefTag_pre="@name: xumj "
let g:DoxygenToolkit_paramTag_pre="@param: "
let g:DoxygenToolkit_returnTag="@returns:   "

let g:DoxygenToolkit_blockHeader="/*******************************************************"
let g:DoxygenToolkit_blockFooter="*******************************************************/"

let g:DoxygenToolkit_authorName="stars,stars@channel.com"
let s:licenseTag = "\<enter>"
let s:licenseTag = s:licenseTag . "Product Series\<enter>"
let s:licenseTag = s:licenseTag . "Copyright (C) 2006(Beijing.) Technology Ltd., Co.\<enter>"
let s:licenseTag = s:licenseTag . "All right reserved\<enter>"
let s:licenseTag = s:licenseTag . "\<enter>"
let s:licenseTag = s:licenseTag . "$$\<enter>"
let s:licenseTag = s:licenseTag . "TODO:\<enter>"
let s:licenseTag = s:licenseTag . "\<enter>"
let s:licenseTag = s:licenseTag . "*******************************************************/"
let g:DoxygenToolkit_licenseTag = s:licenseTag


let g:DoxygenToolkit_briefTag_funcName="no"
let g:doxygen_enhanced_color=1
let g:DoxygenToolkit_commentType="C++"
let g:DoxygenToolkit_classTag = "@class "

 

vim + DoxygenToolkit.vim环境搭建

标签:

原文地址:http://www.cnblogs.com/foreverstars/p/4982329.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!