ctags & cscope

Vim、Emacs配置和使用
回复
cuicle
帖子: 22
注册时间: 2009-07-26 9:22

ctags & cscope

#1

帖子 cuicle » 2011-09-27 19:29

我装了cscope ,为什么在vim中输入:cscope,会提示sorry , the command is not available in this version.
还有ctags的问题,在/usr/include目录下输入 ctags -R * 会显示killed
而在其他地方我也试过,可以生成tags文件,没有问题。
头像
missU
帖子: 1610
注册时间: 2010-03-28 16:16
来自: 你知道么?

Re: ctags & cscope

#2

帖子 missU » 2011-09-27 20:46

在/usr/include下运行ctags?
你必须确定你对/usr/include有写的权限。

代码: 全选

shutdown -h now && 睡觉
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: ctags & cscope

#3

帖子 lilydjwg » 2011-09-27 20:51

1. 你的 vim 没有启用这个特性。vim 的很多特性可以在编译时确定要不要。
2. 检查下内存和磁盘使用什么的。
cuicle
帖子: 22
注册时间: 2009-07-26 9:22

Re: ctags & cscope

#4

帖子 cuicle » 2011-09-27 22:56

missU 写了:在/usr/include下运行ctags?
你必须确定你对/usr/include有写的权限。
drwxr-xr-x 169 root root 12288 Sep 27 19:20 include
有权限的
cuicle
帖子: 22
注册时间: 2009-07-26 9:22

Re: ctags & cscope

#5

帖子 cuicle » 2011-09-27 22:57

lilydjwg 写了:1. 你的 vim 没有启用这个特性。vim 的很多特性可以在编译时确定要不要。
2. 检查下内存和磁盘使用什么的。
内存和磁盘怎么检查?在其他地方都可以ctags的
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: ctags & cscope

#6

帖子 lilydjwg » 2011-09-27 23:28

cuicle 写了:
lilydjwg 写了:1. 你的 vim 没有启用这个特性。vim 的很多特性可以在编译时确定要不要。
2. 检查下内存和磁盘使用什么的。
内存和磁盘怎么检查?在其他地方都可以ctags的
内存 free -m 磁盘 df -h 就可以看到了。那地方的文件多,可能 ctags 运行时使用了过多的系统资源(如内存等)。
cuicle
帖子: 22
注册时间: 2009-07-26 9:22

Re: ctags & cscope

#7

帖子 cuicle » 2011-09-28 0:54

lilydjwg 写了:
cuicle 写了:
lilydjwg 写了:1. 你的 vim 没有启用这个特性。vim 的很多特性可以在编译时确定要不要。
2. 检查下内存和磁盘使用什么的。
内存和磁盘怎么检查?在其他地方都可以ctags的
内存 free -m 磁盘 df -h 就可以看到了。那地方的文件多,可能 ctags 运行时使用了过多的系统资源(如内存等)。
果然是内存不够,可恶的内部排序,现在好了,谢谢,送出感谢
cuicle
帖子: 22
注册时间: 2009-07-26 9:22

Re: ctags & cscope

#8

帖子 cuicle » 2011-09-28 1:07

cuicle 写了:
lilydjwg 写了:
cuicle 写了:
lilydjwg 写了:1. 你的 vim 没有启用这个特性。vim 的很多特性可以在编译时确定要不要。
2. 检查下内存和磁盘使用什么的。
内存和磁盘怎么检查?在其他地方都可以ctags的
内存 free -m 磁盘 df -h 就可以看到了。那地方的文件多,可能 ctags 运行时使用了过多的系统资源(如内存等)。
果然是内存不够,可恶的内部排序,现在好了,谢谢,送出感谢
你的博客写的不错,很多东西我都很感兴趣,有时间慢慢看
还有,问一下,我给 vim-cn@appspot.com发邮件,想加入,怎么发不到
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 553 553-5.1.2 We weren't able to find the recipient domain. Please check for any
553-5.1.2 spelling errors, and make sure you didn't enter any spaces, periods,
553 5.1.2 or other punctuation after the recipient's email address. k16si4805340fah.0 (state 14).
头像
lilydjwg
论坛版主
帖子: 4258
注册时间: 2009-04-11 23:46
系统: Arch Linux
联系:

Re: ctags & cscope

#9

帖子 lilydjwg » 2011-09-28 1:28

cuicle 写了: 还有,问一下,我给 vim-cn@appspot.com发邮件,想加入,怎么发不到
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 553 553-5.1.2 We weren't able to find the recipient domain. Please check for any
553-5.1.2 spelling errors, and make sure you didn't enter any spaces, periods,
553 5.1.2 or other punctuation after the recipient's email address. k16si4805340fah.0 (state 14).
这是个 XMPP 群(一个由程序控制的 XMPP 联系人),你可以在 gtalk 或者其它 XMPP 帐号中添加它为好友。
回复