The symbol not found problem occurs when using source insight code to jump

PS This blog is written based on my own experience. If you have different opinions, please feel free to communicate.

1. There are generally three possibilities for the problem of symbol not found when using the source insight code jump function:

The Add tree option was not selected when you added the code.
insert image description here
When creating a project, if the Add tree option is not selected, a list of related symbols will not be generated.
Recommendation: Delete the project added this time, recreate the project and select the Add tree option when adding code.

2. Generally, when the project is just created, the problem of symbol not found will appear in the code jump.
Suggestion: Synchronize the cache
Method:
Reopen the project you just created.
insert image description here
When the Synchronizing... prompt appears, select Agree. At this point you will find that the code can jump.

3. Your code may be incomplete, and source insight cannot generate the complete list of symbols you need.

When source insight code jumps, symbol not found appears. Solution
When using source insight, when you press and hold Ctrl+variable or function, you can't jump to and prompt "Symbol not found xxxx", generally due to the following two reasons and solutions.

1 The added file is incomplete.
In this case, it is because the added file is incomplete. The correct method is as follows:
1) Open the project Porject and select "Add and Rem".

Guess you like

Origin blog.csdn.net/baiyifei2016/article/details/126667805