Ant Asm Asp Awk Basic BETA C C++ C# Cobol DosBatch Eiffel Erlang Flex Fortran Go HTML Java JavaScript Lisp Lua Make MatLab ObjectiveC OCaml Pascal Perl PHP Python REXX Ruby Scheme Sh SLang SML SQL Tcl Tex Vera Verilog VHDL Vim YACC
# Index one file:
ctags my-file.pm
# Index recursively:
ctags -R dir dir dir
# Index everything in @INC:
ctags -R `perl -e 'print "@INC"'`
# A bunch of files:
ctags -L list-of-files.txt
tags
is created-f
option to override-f-
prints to stdout-a
to append to existing tags file-e
for emacs (TAGS
is created)Ask ctags --list-kinds=Perl
package My::Package;
use constant ABC => 123;
sub do_this;
do_this @ARGV;
sub do_this {
AGAIN: write; shift;
goto AGAIN if @_;
}
format =
@#####
$_[0]
.
:tag
or Ctrl + ]
:tselect
or g + ]
:tjump
or g + Ctrl + ]
Ctrl + t
:tags
# For calls like this:
File::Temp::unlink0($fh, $local);
vi -t Edit::This::function
extra
option to ctagsctags --extra=+q
--extra=+q
:au FileType perl setlocal iskeyword+=:
:set tags=tags1,tags2
LC_ALL=C sort tags1 tags2 > tags
or
perl -e 'print sort <>' tags1 tags2 > tags
AppConfig