freebsdctagscscope

Usage of cscope & ctags in FreeBSD


I tend to use cscope and ctags on Linux. I just run ctags -R and cscope -R in my source directory to start browsing the source code.

Looks like it is different in FreeBSD.

Anybody please post the steps to acheive the same in FreeBSD.

I am able to run cscope -R successfully in FreeBSD, but unable to run ctags -R. Also I tried ctags *, but no luck as I am not able to jump to function definitions in Vim with Control+] - it says "tag not found" instead.


Solution

  • ctags included in the basesystem is not what you expect. For ctags you are looking for install ctags from package/ports, it will provide you with exctags binary.