当前位置:网站首页>Source insight project import and use tutorial
Source insight project import and use tutorial
2022-07-28 19:52:00 【Alex_ designer】
One 、 Introduce existing source code projects
1、Project Create new project under

2、 Take a project name and a project storage file path ( Easy to store index and some settings )


3、 Select the project source code you want to view or modify

Select the source folder Click on the right 【add All】 Pop up the prompt

include top level sub-directories Indicates that it will be added to the first level subdirectory The file of
Recursively add lower sub-directories” 、 Means recursively adding to the underlying subdirectory The file of
Check both

After completion Click on 【Close】 That's all right. , Will automatically introduce the selected Selected documents
Add code ,“Add All” Options will prompt you to add top-level files and recursively add all files , and “Add Tree” amount to “Add All” Option recursively added to all files .
Two 、 Software use

Double click the file name on the right , Open the code to view
If you place the mouse over which variable or attribute, you will see the definition below

Press F7 You can search keywords in the whole project
Right click on the blank space of the code , choice Show in Relation Window, You can view the reference or call relationship of functions or variables .
1)Symbol Window: You can quickly locate a function , Variable , Definition of macros, etc .
2)Project Window: Display various project catalogs , File and definition type .
3)Context window: Automatically display the selected variable , function , Macro definition or multiple definition targets .
4)Relation Window: Show function , The calling relationship between macros and variables
View the path of the file
1、 First you can go through

2、 You can also see on the software
The default may be ellipsis
![]()
You can set the display full path
Option->preference->display , Uncheck “trim long path names with elipses”, In this way, there is no ellipsis in the path , Show full path

The software displays the line number
view-->Line Numbers Check


lookup
1、ctrl+/ Global search keywords 
A、Search Method There are four alternative search methods in :Simple String、Regular Expression、 Keyword Expression and Look Up Reference.
1)、Simple String Is the most common way to find , You can find any character or character that appears in the file , You can even find _upap || u Such a string , But when the project is large , The search process will be slow .
2)、Regular Expression Query by regular expression
3)、Keyword Expression Keyword query
4)、Look Up Reference. Query by reference , Default search method
B、
1)Case Sensitive: The search is case sensitive
3)whole words only
Strictly match keywords when restricting queries , about Look Up Reference The way is always effective
2)Skip Inactivie Code: Find such as #if 0… #endif The code in is not in the list of search
3)Skip Comments: The code in the comment is not on the list of lookups
4)Search Only Comments: Only find the code in the comments
5) The drop-down list is the combination of options on the left , We can use the default
6)lines of context
Only if the query method is Keyword Exception Effective when
7)Find word variations
Only if the query method is Keyword Expression Effective when . It can be used to query all words at the beginning of keywords , Columns such as “open” Query out “opens”、“opening” Similar words .
2、 choice Search/Search Files Or by Ctrl+Shift+F Composite key , In the pop-up Search Files Window to find . stay File Name Box can be filled with file name or folder . Note that when the folder to be queried contains two subfolders , You can check Options Medium Include Subdirectiories, Realize the recursive search of each layer of files .
project wide: Find in project
includ esubdirectories: Include subdirectory lookup
case sensitive: Case sensitive
whole wordsonly: Full word match search
skip inactive code: Skip invalid code lookup
skip comments: Skip comment lookup
search only comments: Only find in comments
3、Ctrl+F Find operation in file 
notes :
1)F3 : Last... Of the results found in this document
2)F4 : Next... Of the results found in this document
3)Ctrl+M : Create or find Bookmarks , It's convenient to find this position next time
3、 ... and 、 Shortcut key
Close file : Ctrl+W
lookup :Ctrl+F
ctrl+/ Global search keywords
Jump to the specified number of lines :Ctrl+G
Duplicate a row : Ctrl+K
Cut a line : Ctrl+U
Insert a row : Ctrl+I
Paste a line : Ctrl+P
Reference resources :
https://blog.csdn.net/qq_39105454/article/details/82665335
https://jingyan.baidu.com/article/fec4bce29dbb3bf2618d8bbc.html
https://blog.csdn.net/oneusername/article/details/94549898
边栏推荐
- China's first chip stamp released: built-in 120um ultra-thin NFC chip
- Cloud computing notes part.2 - Application Management
- My second blog - C language
- [network] cross area network communication learning classification and calculation of IPv4 address
- 德国、葡萄牙均宣布不会禁用华为5G设备,但德国会设定严格限制条件!
- 基于C语言的信息管理系统和小游戏
- Scrapy Spider源码分析
- npm安装和卸载全局包
- There are five certificates in the soft examination advanced examination, which is more worth taking?
- [网络]跨区域网络的通信学习路由表的工作原理
猜你喜欢

How many types of rain do you know?

How openocd directly downloads programs to STM32 board through stlink (solved)

Codeignier framework implements restful API interface programming

Information management system and games based on C language

【NPP安装插件】

Servlet学习笔记

Force buckle 1331. Array serial number conversion

WPF implements MessageBox message prompt box with mask

基于MATLAB的函数拟合

克服“看牙恐惧”,我们用技术改变行业
随机推荐
彻底理解位运算——左移、右移
Leetcode day2 连续出现的数字
Taking the opportunity of digital transformation, how can 3C enterprises achieve efficient collaboration through SRM supplier cloud collaboration platform?
MySQL performance testing tool sysbench learning
MySQL8 tmp_table_size和max_heap_table_size
Leetcode Day5 delete duplicate email
MySQL8 基于clone创建主从复制
11. Learn MySQL union operator
Test Development Notes
2022年全国最新消防设施操作员(中级消防设施操作员)题库及答案
How does app automated testing achieve H5 testing
With the help of panel industry innovation, will FPGA become the best choice for TCON?
The peak rate exceeds 2gbps! Qualcomm first passed 5g millimeter wave MIMO OTA test in China
Edge detection and connection of image segmentation realized by MATLAB
博途1200/1500PLC上升沿下降沿指令编程应用技巧(bool数组)
R language and data analysis practice 11 - data deletion
Leetcode day4 the highest paid employee in the Department
云计算笔记part.1——系统管理
Servlet learning notes
Common APIs in string