IntelliJ IDEA 14.1 EAP: Android Studio 1.1 Features and More

As the release of IntelliJ IDEA 14.1 approaches really fast, we keep updating you on our progress by sharing EAP builds with you. This week is no exception: hurry to grab yet another fresh preview build with two noticeable improvements (among other changes).

First and foremost, IntelliJ IDEA 14.1 gets the newest features from Android Studio 1.1.

Another noticeable change is the feature you asked us for that lets you define remotes right from the Push dialog:

push-define-remote

Hurry to download the preview build, and give the new features a try. As always your feedback is welcome in our discussion forum. If something doesn’t work as expected, go ahead and file an issue to our tracker.

Develop with Pleasure!

Posted in EAP Releases, New Features | Tagged , , | 3 Comments

Faster Spring Boot with IntelliJ IDEA 14.1

In the IntelliJ IDEA 14.1 EAP announcement we’ve already teased you with the expected support for Spring Boot into the IDE. Today the time has come to share more details on what it is and what you already can try with the latest EAP build.

Creating New Projects

First of all, IntelliJ IDEA now lets you quickly create new projects using Spring Initializr right from the Project Wizard, where you can create ready-to-run applications with just few clicks:

spring-boot-initialzr

Editing Application Configuration Files

Now you get thee advanced coding assistance for editing your application configuration which includes smart code completion, error highlighting, navigation, and quick fixes:

spring-boot-application-properties

If you add the application properties files to your Spring facet, they will be automatically validated on Make in case the Compiler → Validation → Spring Model option is selected.

Continue reading

Posted in New Features | Tagged , , , | 15 Comments

IntelliJ IDEA 14.1 Ships with Nextgen of Code Generation

IntelliJ IDEA already has impressive code generation capabilities: it can create getters and setters, equals(), hashCode(), toString(), and other methods, some of which are really simple to generate, and some are quite not.

That’s why the toString() method generator included the support for Velocity templates that could be modified and tailored to your needs. In IntelliJ IDEA 14.1 we’re extending this support to all other generated methods.

generate_equals_hash_code

To fully support this new feature, the Template Editor has been upgraded with complete Velocity coding assistance.

edit_code_generation_templates

Note that this particular editor improvement is only available in the Ultimate Edition, because it requires Velocity plugin, but everything else works well in Community Edition.

After the code has been generated, IntelliJ IDEA will make it clean and good-looking with automatic application of code style, Code Cleanup, and adding @Override annotations where needed.

If you’d like to give this feature a try, grab the latest IntelliJ IDEA 14.1 EAP build, and share your feedback with us on our discussion forum and in the issue tracker.

Develop with Pleasure!

Posted in EAP Releases, New Features | Tagged , , | 7 Comments

Join us at Scala Days San Francisco, March 16-18, 2015

Are you going to Scala Days at Fort Mason in San Francisco? Be sure to come by our booth and learn about Scala in IntelliJ IDEA 14 and the latest release in general.

Scala Days: March 16-18th, San Francisco

Also, don’t miss our session with Alexander Podkhalyuzin, team lead of the Scala plugin for IntelliJ IDEA.

Wednesday, March 18th, 13:20: Under the Hood of Scala Implicits

Konrad MalawskiImplicit conversions and implicit parameters are fundamental and unique features of Scala that are powerful at the same time. To use these features to their maximum potential, and do so with confidence, you have to understand the specifics of how Scala compiler’s implicits search works. In his talk Alexander will cover this topic in detail.

Don’t have a ticket to the conference? Save $100 on a conference pass, use the following promotion code upon registration: “jetbrains100″

Keep up with the latest news on IntelliJ Scala Plugin Blog and on Twitter @intellijidea.

Posted in News & Events | Tagged , , | Leave a comment

Groundbreaking Spring changes in new IntelliJ IDEA 14.1 EAP build 140.2683

Besides bugfixes, the new EAP build ships dramatically improved Spring performance for annotated and mixed contexts, and initial support for Spring Initializr in Project Wizard (IDEA-131355). Please take this hot build from EAP page and share your feedback with us on the discussion forum and in our issue tracker. The release notes of this build can be found here

Posted in EAP Releases | Tagged | Leave a comment

IntelliJ IDEA 14.0.4 EAP is Available

The fresh IntelliJ IDEA 14.0.4 EAP build has arrived with fixes for nasty Android project build problems and other bugfixes and enhancements.

Develop with Pleasure!

Posted in EAP Releases | Tagged , , | 4 Comments

IntelliJ IDEA 14.1 EAP 140.2493.5 is Out

If you haven’t noticed yet, a fresh IntelliJ IDEA 14.1 EAP build is already available for download. In addition to bugfixes it also brings you enhanced Scratch Files feature. Scratch Files (Tools → New Scratch File) were introduced in IDEA 14.0 but now they become real files stored in IDE settings so they are shown in Project View, they survive IDE restarts and even can be executed:Executable Scratch

Get the new EAP build and share your feedback on our discussion forum or report any found bugs directly to the tracker.

Posted in EAP Releases, New Features | Tagged , | 12 Comments

What’s new for Plugin DevKit in IDEA 14

IntelliJ IDEA 14 comes with a number of nice little additions and improvements for plugin authors. Continue reading

Posted in New Features, Plugin Development | Leave a comment

New Refactorings Around the Call Hierarchy in IntelliJ IDEA 14.1

 

Sometimes it is convenient to work with all methods in a call hierarchy in the same way: add or remove a parameter throughout the entire call hierarchy, make the whole hierarchy static, or delete the whole call hierarchy completely.

IntelliJ IDEA 14.1 makes this process simpler.

  1. Change Signature

It’s probably not a very well-known feature that it’s possible (since IntelliJ IDEA 4?) to add a parameter or an exception to all methods in the call hierarchy with a single click:

Screen Shot 2015-01-14 at 10.03.26.png

Result is:

 

  1. Safe Delete Parameter

If a parameter is only passed through the call hierarchy and has no usages outside of it, Safe Delete will automatically suggest other methods in the hierarchy where the parameter could be deleted.

Screen Shot 2015-01-14 at 09.56.53.png

Selecting all methods would result in:

  1. Make Method Static

If you make some method static, and some of it’s callers do not contain any other references to instance members, IntelliJ IDEA will suggest these callers to make them also static.

Result:

 

  1. Safe Delete of Method Call Hierarchy

Much the same way, if you delete a method, Safe Delete automatically checks if some of the callees inside the methods body are no longer used and will suggest to delete them also – so you don’t need to apply Safe Delete for each method in the call hierarchy manually.

Result:

 

And all this without any additional actions to learn!

Posted in EAP Releases, New Features | Tagged , , | 1 Comment

Webinar Recording: Software Architecture as Code

The recording of our webinar with Simon Brown,  Software Architecture as Code,
is now available on JetBrains YouTube Channel, as well as select Q&A below.

Here are the slides used in the webinar and the code.

We’re still manually drawing software architecture diagrams in tools like Microsoft Visio. Furthermore, these diagrams often don’t reflect the implementation in code, and vice versa. This session with Simon Brown looks at why this happens and how to resolve the conflict between software architecture and code through the use of architecturally-evident coding styles and the representation of software architecture models as code.

01:28 – How do we communicate software architecture?
07:00 – Abstraction is about reducing detail
07:50 – Does your code reflect the abstractions you think about?
11:18 – Why not auto-generate the diagrams?
13:42 – The intersection of software architecture and code
14:08 – The C4 model
19:40 – A C4 example – techtribes.je
23:10 – The static model is about code
23:56 – Why isn’t the architecture in the code?
29:10 – Questions
32:10 – Software architecture as code demo with Structurizr
52:45 – Summary
53:40 – Questions

Select webinar questions and answers with Simon.

Continue reading

Posted in Webinars | Tagged , , | 3 Comments