Idea and Eclipse use contrast

Source: Internet
Author: User

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.

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:

Previously set in Eclipse is also very simple, but intellij inside a little bit different, if you want to temporarily, open the file when you click on the small Earth (like a small globe at the first glance) icon can be.

If you want to make all this happen automatically, like the one in 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 take advantage of the IntelliJ provided by the navigation Bar,intellij a lot of functions can be keyboard, this is like the keyboard of the operation of the necessary functions,

How to do this is to open the file, using the shortcut key? +up (jump to Navigation Bar), then there will be a drop-down, basically the file is in the directory of the file list, you can use the upper and lower left and right keys to select other directories, is not cool?

Note: It is suggested that the View > Navigation bar option is dropped, so that the use of shortcut keys will appear in your mouse position, the feeling will be more input, of course, you basically lost the right to use the mouse, which requires you to use according to personal quirks.

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.

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.

Follow up on continuous updates ...........

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.