basic usage of Source Insight
Remark: Reprint article
Reprint Connection: http://www.crifan.com/crifan_recommand_development_tool_windows_view_source_code_source_insight/
"multi-diagram" Create projects with source Insight, index, find files
Here, as an example of a previously downloaded MySQL C project, shows how to use source insight to create a new project.
and index it for subsequent viewing of the code.
Enter project name:
Click OK and then click Browse to find the location of your project code.
I am here to paste the path directly in, and then click OK:
New project:
The default is to select:
Show only known document types
That
Show only files of an already typed type
And we here, because there are many other files in Uboot, such as Makefile,xxx.cfg,readme and so on non-*.h,*.c files
So to deselect this option so that all files can be displayed:
Then click Add Tree and select: "Recursively add lower sub-directories":
Then add up the code and rebuild the index:
Project->rebuild Project
And then it's going to build the index:
After indexing is complete, in the right input box,
Enter a filename to find the corresponding file:
Then double-click a file that you found to open the file:
Notice that the top right corner has the window minimized, maximizing the button:
Next, it's your own, looking at the code trip.
Look at the code, the function, the variable bar a little bit.
Basic usage of Source insight