Is it inconvenient to view the source code? I have powerful tools

Source: Internet
Author: User

You are still reading complicatedSource codeAre you worried? So this articleArticleIt may take you two minutes to read

In the development process, sometimes we need to study the sourceCodeViewing the source code is a good habit and can help us learn a lot. For example, JDK can help us understand a lot of design patterns in actual development applications, or Android Developers, source code is even more essential. When we look at the code, there will always be a variety of inconveniences. Today we will share with you a tool for viewing source code files on a Windows platform, I initially heard that I was still using this tool from Teacher Zhang linghua.

The main character of today is source insight. It is a project-orientedProgramEditor and code browser. Source insight can analyze your source code and dynamically maintain its own symbolic database while working, and automatically display useful context information for you. Its strength lies in not only editable source code, but also Association and search for variables and classes in the code. For example, in Java, you can clearly see the member variables and methods in a class, and source insight also provides a preview of the class. For example, there is a class in the source code, then you can go to the class to view the source code.

Next, let's take a look at the preview image.

 

Is it very clear? It is much easier to look at the source code.

Install

This software is not actually free of charge and requires an activation code. You can use it freely. I will not explain it any more. Here is

Http://115.com/file/e7q4dobi#Source.Insight.3.5.0064.rar

The installation process is complete step by step.

Use

Of course, the source code is JDK source code.

Now, find a place you like and create a folder, such as JDK, and decompress the source code to this folder.

Open source insight and click Project --> new project

After filling in the project name and the location you want to save, confirm that the following dialog box is displayed.

In the selected area, enter the folder where the source code is extracted... Continue OK

Locate your code and select "add tree". You can click "close". Now you can enter the class you want to view at will in the upper right corner. This is very convenient.

Looking at the source code, I personally think it is a very good learning habit and I can learn a lot from it. Why use JDK as an example? Because the source code of JDK is very valuable, it involves a lot of design patterns. I also learned this way in typical Java Io that applies the decorator pattern very well. In short, I hope it will help you in front of the screen.

 

 

 

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.