0

我的 cscope 在包含多个文件的项目上工作正常。在 Eclipse 和其他 IDE 中,可以在整个项目中搜索字符串,例如“你好吗”。cscope 是否支持此功能?如果是这样,该怎么做?

4

1 回答 1

0

打开 cscope 浏览器后,输入“?” 查看帮助页面。它显示您可以执行的操作列表:

Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern:
Find this file:
Find files #including this file:

选择您要执行的搜索类型,输入您的搜索词并按 Enter。

在屏幕顶部,Cscope 将显示结果列表,其中包含找到搜索词的文件、函数和行。

于 2013-07-10T07:58:01.520 回答