Source Insight establishes the basic operation of a project

Source: Internet
Author: User


Using source insight to build a code reading project, source Insight is a very good code reading tool, it is very convenient to use it to read, modify, add, remove code, learn to use it very good.

I. Pre-conditions

Source Insight Version: 3.50

Source code: linux-3.10.4

Ii. steps to establish the project

Create a new project. Open source Insight, and the toolbar selects project, New Project, as follows:


Next, this dialog box appears,


Fill in the name of the project, as well as the catalog generated by the project file (typically a directory is created under the root of the source code to be read to hold the project-generated files). Add it down:


Select the root of the source code project and click OK, as follows:


There are four buttons on the right to add the source code to the project, the functions of these buttons are:

Add: Basic file addition operation

Add all: Adds all source files for the entire project (you can choose whether to recursively add source files from subdirectories)

Add Tree: Adds the source code file for the specified folder and its subdirectories

Remove tree: Contrary to the function of add tree

Once you've added the code you need to read, just click Close to turn it off.

The added code is then synchronized, the index of the reading Code and the auxiliary files are generated, so that the source code can be read as follows:


After the default project has been established for some suffix file is filtered, but in the actual project to some of the code is needed to read, such as in this project. S,. S and other files will not be found directly in the project index, so the following settings are required:


Then make the following settings:


At this point, the whole project was established.










Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.