1352
At JetBrains we’re always listening to developers, and Android developers are no exception. Based on this tight feedback loop, we’ve made a long list of changes to our award-winning IDE which will hopefully make development of Android apps an even bigger pleasure. Here’s what IntelliJ IDEA 13 has to offer you. Gradle-based build system ![]() To create a Gradle project, you go through a wizard similar to that of Android Studio. Among other things, you can choose the application icon and its default type of activity. IntelliJ IDEA 13 also makes Gradle files easily accessible, and provides full code assistance for editing them. Smarter XML editor In IntelliJ IDEA 13, the XML text editor offers the following new features. User-defined XML attributes order. You can use the Settings dialog to define how attributes in your layout files should be arranged. After defining the rules, simply perform code formatting to apply them. In Android, you have many XML files where you store color information: layouts, shapes, gradients, etc. IntelliJ IDEA now offers built-in color pickers that let you insert a color value anywhere by just clicking the corresponding gutter icon, which is context-sensitive and intelligently appears only when you may need it. Navigating through a pair of related files Also, you can navigate between related files by using Go to>Implementation context menu command. IntelliJ IDEA 13 also brings you an easier way to browse Android SDK classes, with a significantly reduced amount of red code you encounter. Navigation to classes is also possible from platform XML files. Easier component prototyping After you type the name of a view component in XML code, IntelliJ IDEA shows an icon in the completion list that you can click to automatically generate the appropriate XML code. Android-specific code inspections Android-specific code analysis works together with many new Lint inspections. Dedicated editing features for manifest files Completion for SDK versions in manifest. When you specify the minimum and maximum SDK that the application may support, IntelliJ IDEA provides code completion to help choose the API version. Line breaks. You can tell IntelliJ IDEA to insert line breaks before the first, and/or after the last attribute of an XML element. This setting is independent from its twin which affects layout files. Class-manifest cross navigation. When you edit a Java class, you can jump to the corresponding location in the manifest file via a gutter icon. If a class uses another class defined in manifest, you can also jump to its declaration. Documentation from XML schema is also available in the manifest editor. Redesigned Logcat UI Also, you can create and apply filters to the logcat view based on a number of parameters, e.g. contained text, tag, package name or process ID. Note that for tags and text, you can specify regular expressions along with literal values. Finally, you can disable logcat for application start, and run it to clear the log before launch. Multi-device preview Access SQLite Databases right from the IDE SQLite support is not available on Android versions prior to 2.2. It works on both rooted and non-rooted devices. In IntelliJ IDEA, SQLite support is only available in the Ultimate Edition, because it relies on the Database Support plugin. Built-in 9-patch Editor And the list doesn’t end there With IntelliJ IDEA you can deploy a previously defined custom Android artifact via the Edit Configurations dialog. Another small but useful feature lets you automatically extract string literals into resource files from layout and manifest files. Not to mention that writing Android applications has a lot to do with Java, and IntelliJ IDEA 13, being an award-winning Java IDE, brings Android developers its powerful Java editor, navigation, inspections, refactorings, and many other features. To download your copy of IntelliJ IDEA 13, visit http://www./idea. |
|