Archive for the ‘In Development’ Category

Play! Console in IntelliJ IDEA

Thursday, January 12th, 2012

Did you know that IntelliJ IDEA 11 provides an integrated Play Framework console?

Start it from “Tools” menu, complete Play! commands, use command history, analyze output.
Play! with pleasure!

New in IntelliJ IDEA 11: Improved filtering in Android logcat

Wednesday, November 30th, 2011

In IntelliJ IDEA 11 we’ve improved Android logcat view, so now watching the logs of your applications became much more convenient.

First, you can create your own named filters and switch between them:

You can use regular expressions to filter the log, e.g. by a tag or message text. Note that autocompletion of tags already presented in the log is available: 

Another noteworthy improvement is that multiline messages aren’t cut anymore when you filter them by a named filter or using search. For example, if you search for “ActivityThread.java”, you’ll see full stacktrace containing the query, but not just separate lines: 

IntelliJ IDEA 11 Beta 2 (build 111.24) Available

Tuesday, November 29th, 2011

If you are using IntelliJ IDEA 11 Beta, here is a recommended update for you — Beta 2.

Download IntelliJ IDEA 11 Beta 2, check out the release notes for this build and submit your feedback to the issue tracker.

Call to action for all plugin developers: it is the best time now to ensure the compatibility with the forthcoming IntelliJ IDEA 11.

If you had missed it — our “free upgrade” offer is still working — buy IntelliJ IDEA 10 now and get v.11 free.

As a side note: we’ve just annouced PhpStorm 3.0 release, the first one in the line of IntelliJ-based IDE releases. IntelliJ IDEA 11, PyCharm 2 and RubyMine 4 will follow.

Develop with pleasure!
IntelliJ IDEA Team

New in 11: Play! in IntelliJ

Monday, November 28th, 2011

IntelliJ IDEA 11 adds support for one of the most voted issues: Play! framework.

Please, have a look at how you could play in IntelliJ IDEA:

What else? Watch other short screencasts of specific features:

JetBrains Contributes to Open Source at Devoxx

Tuesday, November 22nd, 2011

[This post is by Hamlet D'Arcy, JetBrains Academy Member. —Eugene Toporov]

Another Devoxx conference has come and gone, and at this Devoxx, JetBrains was more active than ever. As usual we had our vendor booth, but more importantly we participated directly by giving several conference sessions and helping organize the Hackergarten open-source coding event.

The feedback on our sessions was overall positive. Vaclav Pech and Maxim Mazin gave a session on MPS, and Andrey Breslav presented Kotlin. The video of the talks will be available on the Parleys website soon.

One of the funnest parts of Devoxx was the Hackergarten on Monday afternoon. Hackergarten is an open source coding event where conference attendees are guided through making opens source contributions with the help from the project leads themselves. The Hackergarten was organized and lead by JetBrains Academy Member Hamlet D’Arcy, and we sent our Groovy Project Lead Peter Gromov to help. The code we wrote at the event is already available in IntelliJ IDEA 11, so you can already download and use the features in IntelliJ IDEA 11 Beta.

Niels Harremoës and Peter worked on a Groovy intention that inverts an if statement. So if you start with this Groovy code:

if (a) {
  true
} else {
  false
}


You can press Alt+Enter to bring up the “Invert If” intention and transform
the code into:

if (!a) {
  false
} else {
  true
}


This intention has existed on the Java side for a few years, and now the Groovy users can benefit from the same feature.

The other commit made was from Hamlet D’Arcy and Brice Dutheil. They created a Groovy intention that splits one if statement into two. So when you start with a complex if statement like this:

if (a && b) {
  c()
}


Then pressing Alt+Enter brings up the “Split If” intention, which transforms the code into nested if statements:

if (a) {
  if (b) {
    c()
  }
}

The next step is, of course, to provide the opposite transformation which merges two if statements together. Perhaps we can get it done at the next Hackergarten?

Besides these commits, we also worked on improving the ongoing Griffon framework support with Griffon Lead Andres Almiray. IntelliJ IDEA is learning more about source directory conventions and improving the dedicated Griffon view panels. We also had some productive conversations with the JBoss Forge teams about how best to support their project in IntelliJ IDEA.

Besides all the IntelliJ IDEA contributions, there were other teams working hard on their own projects. Peter Ledbrook from VMWare and Søren Glasius updated several Grails plugins, including the CodeNarc one. Java Champion Steve Chin lead a team into several commits on the ScalaFX project, which is a Scala DSL for writing JavaFX code. A whole bunch of JBoss guys came out to work on their projects. And Gradle Lead Hans Dockter was on site to help people through Gradle issues.

Hackergarten was a lot of fun and we look forward to doing it again. It makes for a different type of conference experience, one in which you learn by doing more than by listening to someone else give a presentation. The activities of coding and traditional sessions was a good mix, and the afternoon spent coding gave us a lot of energy for the rest of the conference.

Are you interesting in coming to a Hackergarten? Hamlet organizes one every other month in Basel Switzerland at his company Canoo. There are other sister groups in Prague and Mexico City as well. If you want to have one in your town then contact Hamlet directly. Who knows, maybe your code will be in the next version of IntelliJ IDEA?

IntelliJ IDEA 11 Beta (build 110.492) is available!

Tuesday, November 22nd, 2011

We’re getting closer and the finish line is just ahead. Please welcome the Beta build.

The IntelliJ IDEA 11 Beta has new streamlined UI for tabs, tool-windows and navbar. We’ve added an experimental plugin for Subversion 1.7 support for early adopters and JDK 1.6_29 is bundled inside Windows distribution.

Download IntelliJ IDEA 11 Beta, check out the release notes for this build and submit your feedback to the issue tracker. There’s still time to make IntelliJ IDEA 11 better.

If you are developing plugins for IntelliJ IDEA, it is the best time now to ensure the compatibility with the forthcoming version 11.

Develop with pleasure!
IntelliJ IDEA Team

New in 11: Git log gets more power

Monday, November 14th, 2011

The most exciting news for me is that now in forthcoming IntelliJ IDEA 11, we show Git revisions graph!

Now that IntelliJ IDEA can visualize commits links, we’ve added context actions to tag a commit, create (and checkout) new branch, and checkout a selected revision.

I want to specifically mention the highlight actions — now you can see what commits are in “ancestors subgraph” for a selected commit. By default, IntelliJ IDEA shows HEAD subgraph, i.e. you see what commits you have in your working tree now.

It is really convenient when you are checking what commits went into some tag (or branch).

To find any commit in git log (in already shown part), use the new “Goto Commit” action — type commit hash, or description fragment, or branch or tag name, and be navigated to it.

And, finally — when browsing history, sometimes you work with a set of commits and need to track this set.

Now you can mark commits by simply pressing Space and they get stared.

New EAP build of IntelliJ IDEA 11 is available on 11.11.11!

Friday, November 11th, 2011

New EAP build 110.365 of IntelliJ IDEA 11 is available for download, check out the complete release notes. Since we are approaching the release we are eagerly looking for your feedback in the issue tracker.

- Develop with pleasure!
IntelliJ IDEA Team

New in 11: ‘Mark Object’ action in JavaScript debuggers

Tuesday, November 8th, 2011

Since IntelliJ IDEA 11 the Mark Object action, which was previously available in JVM-based debuggers only, is also supported in JavaScript debuggers for Firefox and Chrome browsers. To mark an object press F11 on the corresponding node in any debugger tree and specify the label:

After that the labeled object will be marked accordingly in all debugger views:

By the way this feature also works in Flex debugger starting from IntelliJ IDEA 10.5.

How to check your RegExps in IntelliJ IDEA 11?

Friday, November 4th, 2011

In IntelliJ IDEA 11 you can check your Regular Expressions while coding without leaving the IDE. Just invoke the ‘Check RegExp’ intention action on a regular expression and play!

Tip: You can turn any string into a regular expression by injecting RegExp language. Try the ‘Inject Language’ intention action.