Archive for September, 2009

Import Flexmojos Projects to IntelliJ IDEA 9

Monday, September 28th, 2009

Integration with Flex projects that are set up using Flexmojos Maven plugin is very much improved in IntelliJ IDEA 9 (Maia).

If you are using Flexmojos version 3.4 or higher, then the only thing you need to do to import your Flexmojos project to IntelliJ IDEA is to click New Project on the File menu and select your pom.xml file.

That’s all! Right after that you have full coding assistance, ability to compile your project in the same way as Maven does, and to run and debug your application in IntelliJ IDEA.

Note: get more information about configuring Flex SDK sources for Flexmojos projects. (more…)

PostgreSQL Dialect Support

Thursday, September 24th, 2009

Maia release is closing in, and yet we have not run out of useful features to announce. Next EAP brings you a long-awaited support of PostgreSQL dialect. Just as with all others, you can set it at project, folder, or individual file levels either via Project Settings section of Settings dialog, or by invoking a quick-fix on any error marker inside of an .sql file with Alt+Enter shortcut.

New String-related Intentions for Groovy

Wednesday, September 23rd, 2009

With the latest Maia EAP Groovy language support is improved with several new GStrings intention actions.

Now you can convert string concatenations to GStrings…

…and back simply by pressing Alt+Enter, Enter.

Also, IntelliJ IDEA is now aware of that braces can be skipped in some GString injections.

IntelliJ IDEA Completion Feature List

Tuesday, September 22nd, 2009

How are you learning stuff about IntelliJ IDEA? Reading this blog, using Productivity Guide from the Help menu, or even maybe reading the documentation, right? None of these contain all the information you need, though. This is why we decided to start listing details of different features — complete and uncensored, directly on Confluence. We begin with Java completion features. Hope reading this will help you improve your productivity. Enjoy!

Inline Variable Refactoring for JavaScript / ActionScript

Monday, September 21st, 2009

Next version of IntelliJ IDEA, code named Maia, brings you several new JavaScript and ActionScript refactorings. In this post we showcase one of them — Inline Variable, which works with local variables and ActionScript class fields.

Before Inline Variable

Pressing Control+Alt+N (default Windows keymap) replaces variable occurrences with an initializing expression.

After Inline Variable

During the inline process, IntelliJ IDEA checks if a variable can be safely replaced and warns if, for example, there are its usages inside a functional expression.

Problem detected when inlining variable

By the way, the Inline Variable refactoring also works in the left part of local variable assignment.

Enjoy developing with pleasure!

Atlassian Codegeist IV

Monday, September 21st, 2009

We wanted to let you know about Codegeist IV, the fourth annual plugin competition from our friends at Atlassian. Atlassian are giving away over $50,000 in prizes for the coolest, most useful, most elegant plugin or integration for any of their products. There are six prizes, each worth $5,000 in cash, and thousands more in software, conference tickets, and even a new MacBook!

In addition to a first- and second-place Best Plugin prizes, there are four specific categories for different types of plugins. There’s a category for Confluence Themes and CSS, for JIRA OpenSocial Gadgets, for the best use of Javascript, and for the best multiple-product integration. There’s something here for everyone, including several opportunities that go beyond traditional Java development.

Just a reminder: any plugin written or released since Codegeist III (May 9th, 2008), is eligible for Codegeist IV.

This year Atlassian will be announcing the winners live on October 21st at AtlasCamp, their premiere, developers-only conference in Half Moon Bay, California. You need not be present to win, but it sure will be more fun!

Atlassian has been working hard on their plugin development framework in preparation for Codegeist IV. They’re encouraging every developer, expert or newbie, to check out the new SDK, use it for your new plugins and give them feedback. It should provide a much improved method of building and testing Atlassian plugins.

You can use the Atlassian Developer Forums to communicate with your peers, find team-members, ask questions, and publicize your awesome new plugin. The Atlassian Developer Community is strong, and Codegeist is a wonderful chance to collaborate with other developers.

Check out the official rules and get your submissions in by October 9th!

Code Inspections for Web Applications

Thursday, September 17th, 2009

If you ever coded a Web project, you know that all the errors in those HTML / JavaScript files are detected only during run time. Starting next build IntelliJ IDEA 9 (Maia) will help you to spot the problems much earlier. Just invoke Inspect code action from the Analyze menu on the necessary files.
(more…)

Easy Import of Flex Builder Projects

Thursday, September 17th, 2009

Maia Flex support evolves rapidly — now you can import Flex projects created in Adobe Flash Builder (formerly known as Adobe Flex Builder). Maia makes this process easy and convenient by automatically doing this:

  • Creating a new Java module with Flex facet
  • Configuring its content and source roots
  • Setting up Flex SDK attached to Flex facet
  • Adjusting module dependencies (SWC libraries)
  • Building Flex compiler configuration: output type (swf/swc), main class, output folder and file name, and other options.

(more…)

IDEA Switches to YouTrack, JetBrains’ New Issue Tracker

Thursday, September 17th, 2009

After a brief test-drive, IntelliJ IDEA has migrated its bugs and feature requests from JIRA to YouTrack, the new bug and issue tracker from JetBrains.

As usual, you can report bugs or feature requests to IDEA: Feedback, and two more IDEA projects are available to the general public to view and comment: IDEA: Backlog and IDEA: Development. See Working with issue tracker for policies regarding each of these tracker projects.

YouTrack 1.0, currently in beta stage, provides the following advantages over competition:

  • Keyboard-centric approach lets you use easy shortcuts for major operations, including creating, modifying, and searching for issues. (Read more.)
  • Query-based search with intelligent query completion helps you find (and save) any set of issues in seconds, across projects. (Read more.)
  • Powerful commands enable you to batch-modify multiple selected issues, including fixing, specifying priority, types, writing comments etc. (Read more.)

The following resources should help you get used to YouTrack:

YouTrack is also used to track issues in other JetBrains products, including TeamCity, dotTrace, MPS, and Web IDE.

You can download YouTrack beta as a JAR or WAR distribution, and try it out in your own environment.

YouTrack 1.0 final release is scheduled for autumn. Watch YouTrack blog for latest news and tips.

IntelliJ IDEA and JRebel: Better Together

Thursday, September 17th, 2009

Yesterday, ZeroTurnaround announced their recently upgraded JRebel plugin for IntelliJ IDEA. We liked what we saw, and thought you would too.

JRebel (formerly JavaRebel) is a small application that allows you to see changes you make to your code without redeploying it by mapping your project workspace directly to a running application. So, when you make a change to any class or resource in your IDE the change is immediately reflected in the application, skipping build and redeploy phases.

They’ve posted a survey (700+ respondents) that says the redeploy & restart phase wastes 2-8 weeks of your development time annually, depending on the container you use.

The plugin itself lets you configure JRebel for projects and containers directly within IntelliJ IDEA, using a neat GUI, instead of going to the command line. Basically, if you’re interested in JRebel, then it’s easier than ever to work with it directly from IntelliJ IDEA.

For more information, check out the Plugin Home Page and its Installation Guide.

If you’re interested in writing your own plugins for IntelliJ IDEA, check out our repository of 550+ extensions, and information on how you can get started, here: http://plugins.intellij.net/