For faster navigation, this Iframe is preloading the Wikiwand page for Ctags.

Ctags

Ctags是一个用于从程序原始码树产生索引文件(或tag文件),从而便于文本编辑器来实现快速定位的实用工具。在产生的tag文件中,每一个tag的入口指向了一个编程语言对象。这个对象可以是变量定义、函数、类或其他的物件。

Ctags是开放原始码的程序。支持下列的编程语言:汇编,AWK, ASP, BETA, Bourne/Korn/Zsh Shell, C, C++, COBOL, Eiffel, Fortran, Java, Lisp, Lua, Make, Pascal, Perl, PHP, Python, REXX, Ruby, S-Lang, Scheme, Tcl, Vim, and YACC。

支持Ctags产生的tag文件的编辑器以及编辑器插件包括:Vim,Vile,Lemmy,等等。

各种版本

Exuberant Ctags

由Darren Hiebert编写和维护的Exuberant Ctags最初与Vim一起发布,但在Vim 6发布后成为一个单独的项目。[1] 它包括对Emacs兼容性的支持。

Exuberant Ctags包括对超过40种编程语言的支持,并能够添加对更多使用正则表达式的支持。

Universal Ctags

Universal Ctags是Exuberant Ctags的一个复刻,其目标是继续发展。[2]

参考文献

  1. ^ Vim documentation: version6: ctags-gone. [2007-04-28]. (原始内容存档于2007-05-03). 
  2. ^ Universal Ctags Website. [2018-08-02]. (原始内容存档于2018-08-02). 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
Ctags
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?