cscope:如何禁用/删除/转义"Change this text string"选项



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:
Find assignments to this symbol:

其中,我觉得最烦人的是Change this text string选项。因为每当我偶然发现它时,我都会被困在To:对话框中。我无法摆脱它。^C^D甚至^Z都无法让我摆脱它。我必须键入一些垃圾,让它开始搜索,然后才能使用^Z来摆脱它并杀死cscope。我将失去我所有会议的历史。

此外,当我真正想使用该功能时,只有当我即将应用更改时,cscope才会通知我,我没有定义编辑器,所以它不会做任何事情。

所以我的问题是,有没有更好的方法可以逃离对话。或者有没有一种方法可以完全禁用该选项,这样我就不会错误地使用它?

如果在To:提示符下输入任何内容并点击enter,那么cscope将列出要应用更改的文件。

此时,可以按Esc键中止文本更改。

更多信息:https://docs.oracle.com/cd/E19205-01/819-5265/bjaoc/index.html

相关内容

最新更新