打开Source Insight。

Project->New Project->

Source Insight使用教程_解决方法


输入工程名,OK,

Source Insight使用教程_source insight_02


输入源码所在的目录(也就是能包含完所有源码文件的最底层的一个文件夹)。

Source Insight使用教程_搜索_03


点击Add All,

Source Insight使用教程_Source_04


勾上图中所圈的地方,OK,”确定“,然后可以关闭上上图的窗口,就完成了代码的导入。

Source Insight使用教程_解决方法_05


【问题】:1、无法搜索到工程里的文件

解决方法:Recursively add lower sub-directories 勾选上,

Source Insight使用教程_source insight_06


2、context window 不能跳转

解决方法:同步工程代码

Source Insight使用教程_source insight_07


3、如何快速跳转到指定行:F5。