Eclipse IDE Learning

Source: Internet
Author: User

Recently I switched to Java, and IDE is very unfamiliar. Of course I am not used to it. I will spend some time learning.

Before learning, think about the functions of IDE:

1.CodeEdit

2. Integrated Compilation

3. Integration of debugging environment

4. project organization integration

There are some other plug-ins (code management tools, terminal, code review). In fact, the main ide you use is not the four parts.

 

Before learning, follow the rules

1. Find reliable information --> official, first-hand information --> eclipse official website (really good) Find http://www.vogella.com/articles/Eclipse/article.html

2. method.

The problem drives the above four modules, basically starting.

Comparison with Visual Studio, code: blocks, etc.

Concep Integrity --> what is this? From where? Where to go? What is the context? Dependent on what? What are the assumptions? Different forms? Is there any other solution? Summarize the entire LC.

3. Practice. theoretical guidance and practice: test the theory, summarize the experiences, and list the best practices.

4. record.-> It may be worse than writing a pen. Remember it and check it again.

 

1. code editing

Code query CTRN + Shift + T

Class lookup CTRN + Shift + O

Automatically complete CTRN + Shift + F

Complement: CTRN + Space

Quick Fix CTRN + 1

2. Integrated Compilation

Project-base dependency

Attach source code to library

Attach Java document to jar (Java Library)

Reference other Java Library (jar) --> class path

Ant build

3. Integration of debugging environment

It is similar to other debugging environments, such as GDB, DDD, Visual Studio, code: block.

3.1 How To lanuch + paramter + workflow (step into, step out, step over, run)

3.2 How to set break point

3.3 check the variable and memory

3.4 check the stack framwork

 

4. project organization integration

Unlike Visual Studio, the entire directory is displayed, including binary and Java libaray. Used to vs. You don't really want to see these things and you don't know how to filter them out.

Different view (Package Based View, outline view, Java Doc view) ---> orginzation these view to persective

Task view, Working Set Concept

Combine package view with Editor

 

 

 

 

 

 

 

 

Related Article

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.