A ctags file tags
is read if present in startup
or config directory, and allows you to jump
to tags in source file using vi keys, and to
autocomplete words in object orriented programming
languages.
E.g.:
ctags --languages=c,c++ --fields=+aiks -f ~/.config/syncped/tags -R /home/USER/wxExtension
creates a ctags file and puts it as tags in your config directory, using absolute paths.
When the cursor is on a word, pressing Q
(or ctrl-]
) jumps to the
occurrence of that word, and pressing S
jumps back.
If there are more matches a dialog with all of them is shown,
and you can select which file to open. Pressing ctrl-]
then
jumps to next tag, and pressing ctrl-[
jumps to previous tag.
You can also use more ctags files by specifying the ctags file to
be used as commandline parameter option -u
.