⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ctags.html

📁 ctags的最新版5.7,可以比较5.6版看看,免费下载
💻 HTML
📖 第 1 页 / 共 5 页
字号:
directive specifies an absolute path). This option is off bydefault. <b>Note:</b> This option is generally only usefulwhen used together with the<b>&minus;&minus;excmd</b>=<i>number</i> (<b>&minus;n</b>)option. Also, you may have to use either the<b>&minus;&minus;langmap</b> or<b>&minus;&minus;language&minus;force</b> option if theextension of the preprocessor output file is not known to<b>ctags</b>.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;links</b>[=<i>yes</i>|<i>no</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Indicates whether symbolic links (if supported) should befollowed. When disabled, symbolic links are ignored. Thisoption is on by default.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;list&minus;kinds</b>[=<i>language</i>|<i>all</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Lists the tag kinds recognized for either the specifiedlanguage or all languages, and then exits. Each kind of tagrecorded in the tag file is represented by a one-letterflag, which is also used to filter the tags placed into theoutput through use of the<b>&minus;&minus;&lt;LANG&gt;&minus;kinds</b> option. Notethat some languages and/or tag kinds may be implementedusing regular expressions and may not be available if regexsupport is not compiled into <b>ctags</b> (see the<b>&minus;&minus;regex&minus;&lt;LANG&gt;</b> option). Eachkind listed is enabled unless followed by&quot;[off]&quot;.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;list&minus;maps</b>[=<i>language</i>|<i>all</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Lists the file extensions and file name patterns whichassociate a file name with a language for either thespecified language or all languages, and then exits. See the<b>&minus;&minus;langmap</b> option, and <b>SOURCEFILES</b>, above.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;list&minus;languages</b></p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Lists the names of the languages understood by<b>ctags</b>, and then exits. These language names are caseinsensitive and may be used in the<b>&minus;&minus;language&minus;force</b>,<b>&minus;&minus;languages</b>,<b>&minus;&minus;&lt;LANG&gt;&minus;kinds</b>, and<b>&minus;&minus;regex&minus;&lt;LANG&gt;</b> options.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;options</b>=<i>file</i></p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Read additional options from <i>file</i>. The file shouldcontain one option per line. As a special case, if<b>&minus;&minus;options</b>=<i>NONE</i> is specified as thefirst option on the command line, it will disable theautomatic reading of any configuration options from either afile or the environment (see <b>FILES</b>).</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;recurse</b>[=<i>yes</i>|<i>no</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Recurse into directories encountered in the list ofsupplied files. If the list of supplied files is empty andno file list is specified with the <b>&minus;L</b> option,then the current directory (i.e. &quot;.&quot;) is assumed.Symbolic links are followed. If you don&rsquo;t like thesebehaviors, either explicitly specify the files or pipe theoutput of <b>find</b>(1) into <b>ctags &minus;L&minus;</b>instead. <b>Note:</b> This option is not supported on allplatforms at present. It is available if the output of the<b>&minus;&minus;help</b> option includes this option. See,also, the <b>&minus;&minus;exclude</b> to limitrecursion.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;regex&minus;&lt;LANG&gt;</b>=<i>/regexp/replacement/[kind&minus;spec/][flags]</i></p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>The <i>/regexp/replacement/</i> pair define a regularexpression replacement pattern, similar in style to<b>sed</b> substitution commands, with which to generatetags from source files mapped to the named language,<b>&lt;LANG&gt;</b>, (case-insensitive; either a built-in oruser-defined language). The regular expression,<i>regexp</i>, defines an extended regular expression(roughly that used by <b>egrep</b>(1)), which is used tolocate a single source line containing a tag and may specifytab characters using \t. When a matching line is found, atag will be generated for the name defined by<i>replacement</i>, which generally will contain the specialback-references \1 through \9 to refer to matchingsub-expression groups within <i>regexp</i>. The&rsquo;/&rsquo; separator characters shown in the parameterto the option can actually be replaced by any character.Note that whichever separator character is used will have tobe escaped with a backslash (&rsquo;\&rsquo;) characterwherever it is used in the parameter as something other thana separator. The regular expression defined by this optionis added to the current list of regular expressions for thespecified language unless the parameter is omitted, in whichcase the current list is cleared.</p><!-- INDENTATION --><p>Unless modified by <i>flags</i>, <i>regexp</i> isinterpreted as a Posix extended regular expression. The<i>replacement</i> should expand for all matching lines to anon-empty string of characters, or a warning message will bereported. An optional kind specifier for tags matching<i>regexp</i> may follow <i>replacement</i>, which willdetermine what kind of tag is reported in the&quot;kind&quot; extension field (see <b>TAG FILEFORMAT</b>, below). The full form of <i>kind&minus;spec</i>is in the form of a single letter, a comma, a name (withoutspaces), a comma, a description, followed by a separator,which specify the short and long forms of the kind value andits textual description (displayed using<b>&minus;&minus;list&minus;kinds</b>). Either the kind nameand/or the description may be omitted. If<i>kind&minus;spec</i> is omitted, it defaults to&quot;<i>r,regex</i>&quot;. Finally, <i>flags</i> are one ormore single-letter characters having the following effectupon the interpretation of <i>regexp</i>:</p></td></table><!-- TABS --><table width="100%" border=0 rules="none" frame="void"       cols="4" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="23%"></td><td width="2%"><p><i>b</i></p></td><td width="4%"></td><td width="71%"><p>The pattern is interpreted as a Posix basic regularexpression.</p></td><tr valign="top" align="left"><td width="23%"></td><td width="2%"><p><i>e</i></p></td><td width="4%"></td><td width="71%"><p>The pattern is interpreted as a Posix extended regularexpression (default).</p></td><tr valign="top" align="left"><td width="23%"></td><td width="2%"><p><i>i</i></p></td><td width="4%"></td><td width="71%"><p>The regular expression is to be applied in acase-insensitive manner.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Note that this option is available only if <b>ctags</b>was compiled with support for regular expressions, whichdepends upon your platform. You can determine if support forregular expressions is compiled in by examining the outputof the <b>&minus;&minus;version</b> option, which willinclude &quot;+regex&quot; in the compiled feature list.</p><!-- INDENTATION --><p>For more information on the regular expressions used by<b>ctags</b>, see either the <b>regex(5,7)</b> man page, orthe GNU info documentation for regex (e.g. &quot;inforegex&quot;).</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;sort</b>[=<i>yes</i>|<i>no</i>|<i>foldcase</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Indicates whether the tag file should be sorted on thetag name (default is <i>yes</i>). Note that the original<b>vi</b>(1) required sorted tags. The <i>foldcase</i> valuespecifies case insensitive (or case-folded) sorting. Fastbinary searches of tag files sorted with case-folding willrequire special support from tools using tag files, such asthat found in the ctags readtags library, or Vim version 6.2or higher (using &quot;set ignorecase&quot;). This optionmust appear before the first file name. [Ignored in etagsmode]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;tag&minus;relative</b>[=<i>yes</i>|<i>no</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Indicates that the file paths recorded in the tag fileshould be relative to the directory containing the tag file,rather than relative to the current directory, unless thefiles supplied on the command line are specified withabsolute paths. This option must appear before the firstfile name. The default is <i>yes</i> when running in etagsmode (see the <b>&minus;e</b> option), <i>no</i>otherwise.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;totals</b>[=<i>yes</i>|<i>no</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Prints statistics about the source files read and the tagfile written during the current invocation of <b>ctags</b>.This option is off by default. This option must appearbefore the first file name.</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="11%"></td><td width="89%"><p><b>&minus;&minus;verbose</b>[=<i>yes</i>|<i>no</i>]</p></td></table><!-- INDENTATION --><table width="100%" border=0 rules="none" frame="void"       cols="2" cellspacing="0" cellpadding="0"><tr valign="top" align="left"><td width="18%"></td><td width="82%"><p>Enable verbose mode. This prints out information onoption processing and a brief message describing what actionis being taken for each file considered by <b>ctags</b>.Normally, <b>ctags</b> does not read command line argumentsuntil after options are read from the configuration files(see <b>FILES</b>, below) and the <b>CTAGS</b> environmentvariable. However, if this option is the first argument onthe command line, it will take effect before any options areread from these sources. The default is <i>no</i>.</p></td></table><!-- INDENTATION -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -