由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - emacs里怎么查找函数变量的definition、reference
相关主题
清推荐个编程的笔记本
相关话题的讨论汇总
话题: emacs话题: 变量话题: 函数话题: 查找话题: reference
进入Programming版参与讨论
1 (共1页)
l******d
发帖数: 530
1
像一些ide(比如source insight)那样,在source editor里的函数、变量上面点右键
,可以让你选择跳到defition,或者查找reference,在另一个窗口里可以显示该函数
、变量在哪里被引用了。
C*O
发帖数: 389
2
emacs 大牛
膜拜

【在 l******d 的大作中提到】
: 像一些ide(比如source insight)那样,在source editor里的函数、变量上面点右键
: ,可以让你选择跳到defition,或者查找reference,在另一个窗口里可以显示该函数
: 、变量在哪里被引用了。

w******p
发帖数: 166
3
afaik u need to install CEDET and ECB
mw
发帖数: 525
4
etags and grep should be enough for small projects
for large project you might need something else, as people mentioned above.
however, i would say, if you are really working on that large a project, you
should not use emacs at all.

【在 l******d 的大作中提到】
: 像一些ide(比如source insight)那样,在source editor里的函数、变量上面点右键
: ,可以让你选择跳到defition,或者查找reference,在另一个窗口里可以显示该函数
: 、变量在哪里被引用了。

c***C
发帖数: 139
5
For C, C++, gtags is good enough. I believe Emacs is better for big projects
. I used to working on a project with over 2GB source code. Emacs made my
life much easier.
For Python, I just use grep and occur.

.
you

【在 mw 的大作中提到】
: etags and grep should be enough for small projects
: for large project you might need something else, as people mentioned above.
: however, i would say, if you are really working on that large a project, you
: should not use emacs at all.

s****a
发帖数: 238
6
cscope不错,我一直在用
1 (共1页)
进入Programming版参与讨论
相关主题
清推荐个编程的笔记本
相关话题的讨论汇总
话题: emacs话题: 变量话题: 函数话题: 查找话题: reference