r**m 发帖数: 1825 | 1 why this doesn't work?
$ ctags -R *.h *.cpp
ctags: Warning: cannot open source file "*.h" : No such file or directory
ctags: Warning: cannot open source file "*.cpp" : No such file or directory |
S*A 发帖数: 7142 | 2 because you don't have *.h in the current directory.
Most likely you want
ctags -R .
directory
【在 r**m 的大作中提到】 : why this doesn't work? : $ ctags -R *.h *.cpp : ctags: Warning: cannot open source file "*.h" : No such file or directory : ctags: Warning: cannot open source file "*.cpp" : No such file or directory
|
r**m 发帖数: 1825 | 3 It looks like it is because of the default ctags in Mac,
once I installed the Exuberant Ctags version of ctags, everything works.
【在 S*A 的大作中提到】 : because you don't have *.h in the current directory. : Most likely you want : ctags -R . : : directory
|