Idea and Eclipse use contrast

Source: Internet
Author: User

Read Catalogue

    • 1. File and navigation associations
    • 2. Complete Instant Completion immediately
    • 3. Common statements
    • 4. Same Item switch SVN address

A while ago, the development work was transferred from Eclipse to idea.

There are many places in idea that are better than eclipse, summarizing some of the different things that you do with eclipse.

Back to top 1. File and navigation associations

Often need to open a file, you want to automatically open the file tree on the left link to the location, it is convenient to find other files in this directory or other related files.

In fact, this INTELLIJ provides several solutions, the first one is the same way as Eclipse, as follows:

It was easy to set up in eclipse before, but IntelliJ is a little bit different.

If you want to temporarily, when you open the file, click on the small Earth (like a small globe at the very first glance) icon.

If you want to have an auto-locate resource with Eclipse, you can see two options autoscroll to source and AutoScroll from source in the floating layer.

IntelliJ very humanized two set in the inside, you two are tick is the basic and Eclipse features to maintain the exact same, just tick a natural also can.

Another way is to use the IntelliJ provided by the navigation Bar,intellij a lot of functions can be keyboard, this is like the keyboard operation of the necessary functions of the person.

How to do this is to open the file, using the shortcut key? +up (jump to Navigation Bar), then a drop-down appears.

Basically is the file in the directory of the file list, you can use the upper and lower keys to choose other directories, is not cool?

Back to top 2. Complete Instant Completion immediately

The first and most appealing to me is the "Do It Now" feature, unlike other Ide,idea that can provide this functionality anywhere, not just when you want to access a member of a class.

Just enter the first letter of the word, IntelliJ idea will immediately give you the most relevant option that best fits the code editing needs here.

Back to top 3. Common statements

Slightly different in Intelj and Eclipse, in Eclipse, entering main and pressing alt+/automatically complements the main function, but in INTELLJ it is the input PSVM.

There is a for loop in the body of the method, the input fori in Intellj, and then a prompt to select the desired for loop.

System.out.println (); In INTELLJ is the input sout.

Back to top 4. Same Item switch SVN address

After this modification, the submission is no problem, the update is the old address, then just restart the idea.

Idea and Eclipse use contrast

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.