Archive for the ‘New Features’ Category

Manage Line Separators in IntelliJ IDEA 12.1 Like a Boss

Thursday, April 18th, 2013

As we mentioned before the latest release of IntelliJ IDEA comes with better management for line separators.

The information about the line separators type used in the currently opened file is available now in the status bar.

Not a big surprise that it is possible to change the type of line endings for the current file via this control.

You can also perform a bulk change. Just select a target file or a directory in the project view and choose new separator via Main Menu → File → Line Separator.

Please feel free to share your feedback on this feature on our discussion forum or submit bug reports to the issue tracker.

Develop with Pleasure!

Better Gradle Support in IntelliJ IDEA 12.1

Tuesday, April 9th, 2013

Good news for all who use Gradle in their projects. The newest update of IntelliJ IDEA brings new features and enhancements for the Gradle integration.

Now IntelliJ IDEA provides you additional configuration settings:

  • Use gradle wrapper — The IDE automatically detects if the linked gradle project is wrapper-aware and uses it for refreshing the project and running tasks;
  • Use auto-import — Every project structure change is automatically picked up by the IDE on Gradle project refresh (e.g. when a new library is added/removed at build.gradle, it’s added/removed at the IDE as well). Note, that user-defined project changes are not automatically overwritten. E.g. when a user manually adds a library dependency to a module it’s not automatically removed during the auto-import.
  • Service directory path — Allows to specify a location where Gradle stores downloaded library binaries. Useful for Windows’ users who may want to tune their anti-virus software.

(more…)

Packaging JavaFX 2 Applications in IntelliJ IDEA 12.1

Monday, March 25th, 2013

This is the third part of the JavaFX 2 serie about the new features coming in IntelliJ IDEA 12.1. Today we would like to show how you can prepare your application deployment bundles.

Since the last two posts we have updated the project wizard so when you create a project it comes with an already configured artifact.

If you accept to create a project and open File → Project Structure → Artifacts, you will see a configured artifact of JavaFx Application type.

(more…)

Support for JavaFX 2 CSS in IntelliJ IDEA 12.1

Friday, March 15th, 2013

This is the second part of the serie about Java FX 2 support in the upcoming IntelliJ IDEA 12.1. Today we would show some features dedicated to help you to skin your JavaFX application with CSS. We would use the same sample application we were using in the previous post.

As you know JavaFX allows to configure stylesheets for nodes in your .fxml. IntelliJ IDEA helps to complete existing .css files:

You may rename, move, etc your .css file, the reference would be updated accordingly. If you deside to add one more stylesheet and want to convert attribute value to subtag, the IDE would also help you here.

(more…)

Getting Started with Adobe Gaming SDK in IntelliJ IDEA 12.1

Tuesday, March 12th, 2013

IntelliJ IDEA 12.1 has complete support for the Adobe Gaming SDK, i.e. Adobe AIR SDK bundled together with Away3D, Starling and Feathers frameworks.

For those who are interested in developing games using IntelliJ IDEA we have prepared a step-by-step tutorial with instructions on how to set up, build and run sample applications included in the SDK.

Please feel free to share your feedback at our forum and report any found issues to the issue tracker.

Develop with pleasure!

Support for JavaFX 2 in IntelliJ IDEA 12.1

Tuesday, February 26th, 2013

Over the last year we have been asked to add support for JavaFX 2 quite frequently. Today we are pleased to announce the first preview of the JavaFX 2 plugin for IntelliJ IDEA 12.1.

Having Java 7 installed you may create a new demo project based on JavaFX Application template:

(more…)

New Spring Beans Quick-fixes in IntelliJ IDEA 12.1

Tuesday, February 19th, 2013

Since IntelliJ IDEA 12.1 is already available for the early preview, we can tell you now about the new features.

If you ever referenced existing beans across multiple Spring configurations, you will find the new quick-fixes very useful. Now you can change dependencies between corresponding contexts in Spring facet without leaving the editor.

Let’s say we have two Spring XML configuration files: spring-config.xml and another-spring-config.xml, where each of them is configured in its own application context in Spring facet.

Let’s reference existing bean “sampleBean” across the existing, and yet unrelated application contexts.
(more…)

Smart Path Variables for Spring MVC in IntelliJ IDEA 12

Monday, February 18th, 2013

The latest release of IntelliJ IDEA brings many exciting features for Spring MVC support. In this post we would like to highlight some of them, which add even more intelligence for @RequestMapping and @PathVariable usages in your project.

Enhanced code completion in @RequestMapping:

(more…)

Manage Your Database Schema in IntelliJ IDEA 12

Wednesday, December 19th, 2012

As you know, IntelliJ IDEA provides built-in database tools with support for many SQL dialects, such as Oracle, PostgreSQL, MySQL, Microsoft SQL Server and others.

A while ago we shared this video with a quick overview of how to set up a connection to a database, use smart completion (even for SQL queries within Java), on-the-fly code analysis, navigation (between queries and database), search (for tables and fields), and more cool features.

Now, please enjoy a new video with even more exciting features available in IntelliJ IDEA 12 for working with databases:


(more…)

Android Code Styles in IntelliJ IDEA 12

Monday, December 17th, 2012

If you are developing for Android, you probably deal with XML files every day. These are the manifests, layouts, drawables, resource files and many others. That’s why in IntelliJ IDEA 12 we have added a new option for the code formatter, which is aware of Android-specific code styles.

The new option is available in Settings → Code Style → XML and can be enabled via Set From… → Predefined Style → Android.

(more…)