使用source insight查看工程源码时,有时需要查看某一变量在上下文中的引用情况。
自己查看了Source Insight 4 User Guide,找到了设置方法。
选择 Options > File Type Options,然后勾选“Highlight references to selected symbol”选项,如下图。

source insight 高亮显示字符串的引用情况

设置完成之后效果如下:
source insight 高亮显示字符串的引用情况

相关文章: