ctags: skipping ***: it is not a regular file.

最近在学习用vim,再利用ctags 建立tags 的时候出现问题

ctags -R .

ctags: skipping ***: it is not a regular file.


类似这个问题可能你运行的ctags 不是  Exuberant Ctags, 而是 GNU Emacsetags

输入

ctags --version 

ctags (GNU Emacs 23.1)
Copyright (C) 2009 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README

man ctags可以看到

   -R, --no-regex
          Don't  do  any more regexp matching on the following files.  May
          be freely intermixed with filenames and the --regex option.

You could probably generate the tags recursively using shell magic, but you may run into problems down the road if you're expecting Exuberant Ctags. So the best solution is probably to install the ctags you want instead:

sudo apt-get install exuberant-ctags
另一种可能是

It occurs if you have elvis-tools installed . remove them with something like

sudo apt-get remove elvis-tools 

and then install exuberant-ctags by

sudo apt-get install exuberant-ctags



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值