代码注释工具

autsswl 2009-11-26 02:16:36
我安装了source insight和doxygen,想要在VS2005下,使用快捷键就可以在代码中加入注释。每次输入注释太麻烦了,
...全文
402 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
xunchen 2009-11-27
  • 打赏
  • 举报
回复
VIsual Assist
option->Advanced->Suggestions->Edit VA Snippets
wolflion 2009-11-27
  • 打赏
  • 举报
回复
学习了

之前好像有看过在VS平台里用宏实现啊,呵
jackyjkchen 2009-11-26
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 autsswl 的回复:]
有VIsual Assist不过没有自动添加注释的功能啊
可能我没发现,
[/Quote]
即使不装插件,注释选中也是有的,ctrl+k+c
do_fork 2009-11-26
  • 打赏
  • 举报
回复
一个注释工具的用法,可以写一本书了
do_fork 2009-11-26
  • 打赏
  • 举报
回复
*NERD_commenter.txt*         Plugin for commenting code


NERD COMMENTER REFERENCE MANUAL~





==============================================================================
CONTENTS *NERDCommenterContents*

1.Intro...................................|NERDCommenter|
2.Functionality provided..................|NERDComFunctionality|
2.1 Functionality Summary.............|NERDComFunctionalitySummary|
2.2 Functionality Details.............|NERDComFunctionalityDetails|
2.2.1 Comment map.................|NERDComComment|
2.2.2 Nested comment map..........|NERDComNestedComment|
2.2.3 Toggle comment map..........|NERDComToggleComment|
2.2.4 Minimal comment map.........|NERDComMinimalComment|
2.2.5 Invert comment map..........|NERDComInvertComment|
2.2.6 Sexy comment map............|NERDComSexyComment|
2.2.7 Yank comment map............|NERDComYankComment|
2.2.8 Comment to EOL map..........|NERDComEOLComment|
2.2.9 Append com to line map......|NERDComAppendComment|
2.2.10 Insert comment map.........|NERDComInsertComment|
2.2.11 Use alternate delims map...|NERDComAltDelim|
2.2.12 Comment aligned maps.......|NERDComAlignedComment|
2.2.13 Uncomment line map.........|NERDComUncommentLine|
2.3 Supported filetypes...............|NERDComFiletypes|
2.4 Sexy Comments.....................|NERDComSexyComments|
2.5 The NERDComment function..........|NERDComNERDComment|
3.Options.................................|NERDComOptions|
3.1 Options summary...................|NERDComOptionsSummary|
3.2 Options details...................|NERDComOptionsDetails|
3.3 Default delimiter Options.........|NERDComDefaultDelims|
4. Customising key mappings...............|NERDComMappings|
5. Issues with the script.................|NERDComIssues|
5.1 Delimiter detection heuristics....|NERDComHeuristics|
5.2 Nesting issues....................|NERDComNesting|
6.About.. ............................|NERDComAbout|
7.Changelog...............................|NERDComChangelog|
8.Credits.................................|NERDComCredits|
9.License.................................|NERDComLicense|
autsswl 2009-11-26
  • 打赏
  • 举报
回复
代码注释要的,要不然自己以后都看不懂了
loveisbug 2009-11-26
  • 打赏
  • 举报
回复
麻烦就不写,简单。
autsswl 2009-11-26
  • 打赏
  • 举报
回复
有VIsual Assist不过没有自动添加注释的功能啊
可能我没发现,
ma100 2009-11-26
  • 打赏
  • 举报
回复
VS不是自带注释选中行功能吗
老邓 2009-11-26
  • 打赏
  • 举报
回复
试过Visual Assist X插件了吗?

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧