Archive for the ‘FYI’ Category

XSLT 2.0 in IntelliJ IDEA 10.5

Monday, September 19th, 2011

Did you know IntelliJ IDEA 10.5 supports XSLT 2.0? But it does!
Major new features are:

  • Support for XPath 2.0 syntax (e.g. if-then-else constructs, for-expressions and a lot more), completion for built-in XPath and XSLT functions
  • Complete support for XPath 2.0 built-in type system. Limited support for user-defined types
  • Complete support for XPath 2.0 and XSLT 2.0 built-in functions
  • Support for new XSLT 2.0 elements, such as custom extension functions (xsl:function)
  • New refactoring: Extract Function, turns an XPath expression into a call to a user-defined function

Some example screenshots:

Custom functions & parameter type validation

Completion for new XPath & XSLT functions

Completion for new XPath & XSLT functions

Running XSLT 2 stylesheets is of course possible as well. However this currently requires the presence of an XSLT 2.0 capable processor in the classpath, such as Saxon 9HE.

If the lacking tool-support stopped any users from using XSLT 2.0 yet, IntelliJ IDEA now enables the developer to use the far more powerful functions, type system and data model.

Develop XSLT with pleasure!

New in 11: Changes digest for easier pre-commit review

Friday, September 9th, 2011

As for me, after a few years of working in a huge project inside a big team, I became concerned about accidentally breaking the project.

That’s why every time I commit something, I double-check my changes.

In the forthcoming IntelliJ IDEA 11 EAP, I have a special “digest” changes presentation for that!

It helps me in my last pre-commit check immediately inside the commit dialog:

And I also use it all the time when coding, to recall my changes:

NB: to see the digest of changes in Changes | Local, use the new “Change Details” toolbar button.

To tell the truth, even when I was in the middle of this “digest” changes feature, I simply couldn’t live without it, so I compiled a build of IntelliJ IDEA for myself and used digest view while developing the digest view!

IntelliJ IDEA 11 EAP is to be announced any day now. Stay tuned!

Get a FREE IntelliJ IDEA license at Flash on the Beach Conference!

Wednesday, August 17th, 2011

Hi All!

We are happy to announce a raffle of personal IntelliJ IDEA 10 licenses for those who plan to attend Flash on the Beach conference this September!

To get your FREE IntelliJ IDEA 10.5 license follow four simple steps:

1. Print or paint the IntelliJ IDEA logo.

2. Take a crazy creative picture of yourself and our logo.

3. Publish it online:

or

  • You can share it on Twitter with #FOTB and #i_love_intellij hashtags.

4. Collect your IntelliJ IDEA license - for FREE! at JetBrains stand during “Flash on the Beach”!

And last but not the least!

On the last day of FOTB we’ll raffle an iPad 2 among our fans who sent us their photos!

Want more effective IntelliJ IDEA screen estate?

Friday, July 8th, 2011

Have you noticed a small new button in the bottom left corner of IntelliJ IDEA window since version 10.5?
It lets you have more space in the main frame and give more prominence to the editor by hiding the tool window bars.

With the tool buttons hidden you, of course, still can access the tool windows using their numeric hotkeys, e.g. Alt+1 for Project view, Alt+9 for Changes, etc.

But if you need to refresh them in your mind, or want to open one with the mouse, you can show the tool window buttons just for a moment. To do that, hit the Alt key twice (Command key on Mac), and keep it down — while the key is pressed, the tool window buttons are visible. Release the key — and they disappear again, leaving your main frame large and spacious.

Give it a try if you have not yet!

Control your Perforce connection

Wednesday, June 1st, 2011

In IntelliJ IDEA 10.5 we’ve improved setting up your Perforce server connection and connection state diagnostics.

Configuring connections

If you are using P4CONFIG files for configuration, IntelliJ IDEA shows what config files it has found and what other default settings are used. This way you can be sure that your P4CONFIG files are found and taken into account.

Use the ‘Test Connection’ button in ‘Settings | Version Control | VCSs | Perforce’ to see this information.

Moreover, in case you specified a wrong client workspace and your project roots do not match with the workspace roots, you are also clearly prompted:

Perforce connection parameters dialog

If you are not authenticated to the server or the authentication ticket has expired, you will be notified accordingly:
Not logged to Perforce notification

Offline mode

Once Perforce server becomes unavailable, IntelliJ IDEA switches to the offline mode automatically and displays an offline notification.
"Perforce is offline" notification

In the offline mode, you can continue working locally as usual, file checkouts are remembered by IntelliJ IDEA to be further re-played. When going online IntelliJ IDEA requires that you authenticate on the server and the ticket is not expired. This is important to re-play you offline edits properly.

Tell us how you use IntelliJ IDEA

Thursday, May 12th, 2011

If you’ve already launched IntelliJ IDEA 10.5 you probably noticed this  “green notification” asking your permission to send information to JetBrains about your IntelliJ IDEA project configuration (which frameworks are used and which are not) and feature usage statistics (e.g. how often extract method refactoring is used).

We just want to say that this information is VERY important for us and will help us concentrate our efforts exactly on the tools and technologies that you really use.

Analyzing your “productivity” statistics (Help | Productivity Guide) can help us discovering some useful but rarely used actions and refactorings and publish more posts and tutorials about them.

If you’ve originally disabled this feature, we kindly ask you to think again and, if you change your mind, you can switch it ON in IDE Settings | Usage Statistics section.

All the data sent to JetBrains is anonymous and does not contain any personal information.

Thanks for all the stats!
The IntelliJ IDEA Team

ActionScript refactoring improvements in IntelliJ IDEA 10.5

Tuesday, May 10th, 2011

We’re working day and night to bring you more goodies in IntelliJ IDEA 10.5. Here are just a few more of them.

Introduce Variable (Field, Constant) refactoring now has a type chooser and makes it easier to work with untyped array elements (among other things):

(more…)

In-place Replace in IntelliJ IDEA 10.5

Friday, April 29th, 2011

Hi everyone!

Long time ago IntelliJ IDEA got a face-lift for Find functionality where the old Find dialog was replaced with the editor’s toolbar. Now we’re introducing a similar, more comfortable and less modal Replace.

A planned killer is that when you are doing a regular expression replace you can see the result preview in a tooltip, as shown on the screenshot above.

So, try it in a latest IntelliJ IDEA 10.5 EAP and let us know how it works for you.

New Diff Tools in IntelliJ IDEA 10.5

Monday, April 25th, 2011

We at JetBrains know how important it is to track what has been changed in your project from one version or revision to another. This is why IntelliJ IDEA 10.5 brings you new Diff Tools for comparing local directories, DB objects (Data Sources, Schemes, Tables). In later updates we’re planning on including even remote to local files comparison as well. Diff Tools are available via Ctrl+D, or from context menu, wherever you may need them.

Say, to compare two Data Sources (or Tables, or Schemes, come to that), all you need is select them in Data Sources tool window, and then invoke the Compare action either from context menu, or via toolbar:

Comparing two local folders is just as easy: the action is available in Project View file tree.

Find Table/Column Usages Searches Database Schema

Friday, April 22nd, 2011

In IDEA 10.5 “Find Usages” (Alt-F7) results for tables and columns include database schema usages, i.e. references in indices, primary and foreign keys, see screenshot below:

Develop with pleasure!