记录下tags文件的格式,今后在必要的时候可以自己生成,这个对提高代码阅读效率很有帮助.
tags文件是以行为单位的,每行的格式如下:
{tagname}Tab{tagfile}Tab{tagaddress}
其中
- {tagname} Any identifier, not containing white space..
- Tab Exactly one TAB character (although many versions of Vi can handle any amount of white space).
- {tagfile} The name of the file where {tagname} is defined, relative to the current directory (or location of the tags file?).
- {tagaddress} Any Ex command. When executed, it behaves like ‘magic’ was not set.
最后,再每行的后面可以添加注释 ,注释的格式是分号,双引号后面跟注释
;” comment
本文地址: http://www.bagualu.net/wordpress/archives/1751 转载请注明