IntelliJ idea VS Eclipse, who wins?

Source: Internet
Author: User

Many Java programmers are veteran eclipse users, but today I want to take a more rigorous look at IntelliJ idea. In this article, the gadget will list some of the actions that are commonly used in eclipse and are equivalent to IntelliJ. What is the winner or minus? Let's take a look.

A lot of times programmers are editing a file and need to edit other files as well. If the FF class is a class that is often edited and needs to be edited by other classes in the same package-the function of the link editor allows you to quickly switch between classes in the same package. What kind of convenience does this feature provide for programmers? Whenever you edit a file, it immediately shows where it is in the Package browser view/Project view. If you use the expanded package view, it divides and displays classes by function, rather than using hierarchies (DAO layers, service layers, and so on) to present classes.

Eclipse

You can see and use the link Editor button in the project browse view or the package browse view.

If you do not want to use this feature, you can still use the Alt+shift+w shortcut to view the package view or the drawing view and set its display position.

IntelliJ

Select settings in the Project view or package view, then tick auto-scroll (autoscroll from source) based on source;

If you do not want to use this feature, you can still use the shortcut key ALT+F1 to navigate and set the location of the display;

the charm of IntelliJ

IntelliJ itself comes with a multitude of features (e.g., GitHub integration). Of course, at Eclipse you can also get enough functionality by choosing a different version of the plugin, but you need to configure these plugins yourself. In IntelliJ, you can use the mouse wheel to change the font size (I use this feature frequently in my browser). However, this feature requires manual activation.

    1. Open the IDE's settings (Ctrl+shift+s or click on the File menu >setting)

    2. On the editor page (enter "editor" in the search box), make sure the change font size (Zoom) with Ctrl+mousewheel option is selected

    3. Start the command line terminal directly in the IDE

    4. Flexible and easy-to-use templates: Enter P, then use the shortcut key ctrl+j to get the following options

      • Psf–public Static Final

      • Psfi–public static Final int

      • Psfs–public Static Final String

      • Psvm–main Method declaration

    5. Strong support for JavaScript, HTML5: The commercial version of IntelliJ should include HTML5, CSS3, SASS, less, JavaScript, Coffeescript, node. js, Code-accessibility features for ActionScript and other languages.

compared to the shortcomings of Eclipse,intellij

In eclipse, you can use the Ctrl+m shortcut key or double-click the label to maximize the current console. But there is no such way in IntelliJ. Of course, you can use the Ctrl+q shortcut key in IntelliJ to get the above functionality. But when the mouse hovers over the code you can see that part of the Javadoc function is so friendly in eclipse.

Summary

In my opinion, every IDE is great, IntelliJ looks more modern, but sometimes programmers prefer the classic version of Eclipse, probably because eclipse was used in the past. May continue to be affected by this factor in the future.

IntelliJ Trial version download >>

IntelliJ idea VS Eclipse, who wins?

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.