Intellij idea-another option for Android Development

Source: Internet
Author: User

I have heard of eclipse for a long time, but when I was a beginner in Java, the IDE recommended by a senior was intellij idea. Because another jetbrains product pycharm (a powerful Python IDE) has been used before, it is easy to use. Later, in the unit project, a small Android application is required, and eclipse is also used for a while.

In our EOECommunityIt seems that altar friends prefer to use eclipse for Android development, so I will introduce you to another good choice today, intellij idea (IDEA ).

First, describe,I am a fan of jetbrains. I like idea instead of Eclipse.. The introduction below only recommends a new choice for friends, rather than replacing eclipse.
Of course, I hope you can point out something wrong.

About Idea

Idea includes a Free Community version and a paid ultimate version, which can be downloaded from the jetbrains official website. The U version is much better than the C version for javaee development. But for our Android Developers, C is enough.
Idea is developed using Java. like Eclipse, idea supports windows, Linux, and Mac OS X. Among them, the C version is open-source.
Eclipse requires the ADT plug-in to support Android development.IDEA's support for Android development is built-in, No longer neededOther plug-ins. Of course,Android SDKAndJDKIt is still indispensable.

Advantages of Idea
Auto save

Like pycharm, edit in ideaCode, Ctrls is no longer required. Once the code is modified, it is automatically saved.
Of course, you don't need to worry about ctrlz-as long as you don't close idea, it's okay to undo it.

Built-in Version Control

IDEA has built-in support for git, SVN, CVS, and mercual.

Powerful Smart Tips

The smart prompts of eclipse are available only after the complete class name or variable name is entered and then clicked. The idea automatic prompt is the full process:

Quick Code Generator
Click the light bulb on the left or press control + enter to view the smart message provided by idea.

Press OPTION + enter to view the generated code menu provided by idea.

Perfect XML resource support

Idea can recognize symbols in Android resource files and provide smart prompts, which is very useful when editing layout and drawable files.

The lack of eclipse ADT in this function can really drive people crazy.

Compatibility with eclipse
Maybe you are attracted by idea, but other people in the team are playing with eclipse. What should I do?
IDEA provides the perfect support for importing and exporting projects from Eclipse:

Import from Eclipse:
1. For new project, select import project from extenal model and continue until the next step is completed.

2. In the event log, you can see "frameworks detected: Android framework is detected in the projectConfigure", Click Configure to configure the android framework.
The File menu also provides the export to eclipse function.

Disadvantage
Of course, there has never been a perfect IDE, and so has idea.
Because idea's development language is Java, it causes high memory usage (200 + memory will be consumed in my notebook) and slow startup speed.

Related Links

Intellij idea Download Page

Some features of intellij idea

Advantages and disadvantages of intellij idea

Intellij idea

 

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.