Source insight is a good C language editor for project management and reading and editing. The search function is frequently used and has many options. Similar to the search function of other software, the following describes the search function in English:
Search parameters:
Whole words only: Search for full match
Case Sensitive: Case Sensitive
Project wide: search within a project
Include subdirectories: including subdirectory search
Skip inactive code: Skip Invalid code search
Skip comments: Skip annotation search
Search only comments: Search for comments only
One of the most common search methods is to select search/lookup references, press Ctrl +/, or click the r button to search in the pop-up loopup references window. There are four search methods available in the search method: simple string, regular expression, keyword expression, and look up reference. Simple string is the most common search method. You can find any character or character in a file, or even a string such as _ upap | U. However, when the project is large, the search process is slow. The regular expression lookup method will be introduced later when we talk about regular expression. Here, we will temporarily press this button. The keyword expression and look up reference query results are basically the same, but the display method is slightly different. Both methods use the database pre-created by Si, and the search speed is quite fast. However, this speed is usually only effective when searching for identifiers. You are strongly advised to search for functions such as function names and variable names.
Search files
Select search/search files or press Ctrl + Shift + F to search in the pop-up search files window. Enter the file name or folder in the file name box. Note: When the folder to be queried contains subfolders, you can select include subdirectiories in options to implement recursive search for each layer of files.
Search Project
Select search/search project and search in the displayed search project window. The operation is almost identical to the loopup references operation. They respectively Save the configuration of the last search.