I would like to create a tags file using ctags
for a complete source tree. Now I generally would run ctags *.c
but the problem is in the top directory, there's no source files.
Also, I'd like it to pick up *.c
,*.h
,*.cpp
& *.hpp
files, how can I do this?
You can use ctags --recurse
or ctags -R
to recursively descend into a directory tree.