Archive for the ‘FYI’ Category

Do you know where ‘Go To…’ can get you?

Thursday, January 19th, 2012

How often do you use ‘Go To Class/File/Symbol’ feature in IntelliJ IDEA? Pretty often I would guess. But do you know everything you can do with it? Let me go through a couple of often overlooked gems.

Do you know that when you search for file or class you can preview an image (Ctrl-Shift-I) or see a quick doc (Ctrl-Q)?

It is also possible to open multiple items in the editor (multiselect with Ctrl or Shift) or run multiple selected tests right from the search (Ctrl-Shift-F10).

And you can open all search results in the ‘Find’ tool-window to process them one by one later.

Did I mention your favorite feature? No? Please, share it with everyone! :)

IntelliJ IDEA’s Move Refactoring for ActionScript/Flex gets Smarter

Monday, January 16th, 2012

At JetBrains we not only bring you new powerful features that make your life better, but also take care to polish the good old stuff to perfection. Let’s take a look at the Move refactoring for ActionScript classes, Flex components and all other types of top-level declarations (namespaces, functions, variables and constants), that has just got a little smarter. By the way, this refactoring also works for inner declarations (also known as helpers or file-local declarations), defined in ActionScript file out of the package statement.

(more…)

Profiling CPU in Flash and Flex Applications in IntelliJ IDEA

Wednesday, January 11th, 2012

Hello guys! Just recently we’ve published an update to our Flash/Flex Profiler plugin that gives you a powerful and easy to use toolset for profiling of Flash-based applications in IntelliJ IDEA.

Let us give you a brief overview of what you can do with it.

(more…)

Create FlexUnit Tests Quickly in IntelliJ IDEA

Wednesday, December 28th, 2011

Do you know how to navigate from a class to its test and back again or how to create a FlexUnit test quickly with IntelliJ IDEA 11? Let me tell you.

First of all make sure that flexunit.swc is within your module dependencies:

and just press Ctrl+Shift+T (Cmd+Shift+T on Mac) or select Navigate | Test from main menu:

(more…)

Some Nice/New Features of ActionScript/Flex Debugger

Tuesday, December 13th, 2011

I’d like to highlight few useful features in ActionScript/Flex debugger, some of which are new in IntelliJ IDEA 11.

Better members presentation in Variables view (informative icons, sorting) with ability to jump to source:

Convenient collections view (size, Vector status, collection elements):

Mark any object instance and this instance will be highlighted in all views if met again until the end of the debug session:

[SWF] and [UnloadSWF] messages are now filtered out by default. Toggle respective button in Debug tool window to switch the filter off:

Debug with pleasure!

IntelliJ IDEA 11: New and Noteworthy in Database Realm

Wednesday, December 7th, 2011

There are many little things in database and SQL area that got attention in yesterday’s IntelliJ IDEA 11 release but now I just want to highlight the major ones.

Data Sources view got a new look and now includes stored procedures both from DDL scripts and real databases. The existing SQL dialects support has been redesigned with two new dialects introduced: H2 and MS Transact-SQL. So the list of supported SQL languages now looks like this:

Data Sources Toolwindow
  • MySQL 5.6
  • PostgreSQL 9.0.5
  • Oracle 11.2
  • SQLite 3.7
  • SQL Server 10.50
  • Derby 10.8
  • HSQLDB 2.2
  • H2 1.3
  • SQL-92

   Featuring:

  • Exact syntax as in docs
  • Context-aware completion
  • PL-extensions support

Database view:

  • Includes stored procedures. Search for usages, navigate to, drag and drop to editor, etc.
  • Working with large databases is now less painful. Tables and procedures are available the moment their names are loaded. Columns, procedure parameters and other information are loaded in background afterwards.
  • If something is changed there’s no need to wait for the whole synchronization. Refresh only selected schemas, tables or procedures.

Database Console:

  • Console now remembers its state so you won’t lose statements you have never run.
  • If you do not want to switch editors back and forth you can run statements directly from an SQL file or any other place where SQL injection takes place: invoke “Run Query in Console” intention for the first time then use console “Execute” action shortcut as if you are in console.
  • Transact-SQL batch execution mode (the toggle is hidden in the console properties dialog)
  • Console editor now can be undocked and split as any other editor.

Enjoy.

New in 11: Diff Tool for Binary Files

Thursday, November 10th, 2011

Did you know that IntelliJ IDEA 11 Diff Tool supports some of binary contents? Now, it’s not a problem to see changes from file history or a change list. Every binary content you’re able to open in IntelliJ might be compared in Diff Tool: UML diagrams, SWF files, of course images, and much, much more.

New in 11: Javadoc editing improvements

Thursday, October 20th, 2011

Recently I realized that javadoc editing may be easily improved by introducing some handy little features. After using them for a couple of days, I can say they are cool, so, it’s time to share them with you. And you can try them all in the latest IntelliJ IDEA 11 EAP.

The main idea is to ease fulfilling method javadoc stubs that IntelliJ IDEA generates for you:

  • Smart “End”
    Pressing End when the caret is located after javadoc parameter name relocates it to the position where description should start. It respects ‘Align parameters description’ code style setting as well (‘Code Style | Javadoc | Alignment’).
    Before:
    After:
  • Smart “Enter”
    We rather often need to write a multi-line javadoc parameter description. Now pressing Enter preserves previous line indent if a corresponding option is enabled (‘Editor | Smart Keys | Enter | Smart indent’).
    Before:

    After:
  • Smart complete statement
    Corresponding support is added for smart complete statement (Ctrl+Shift+Enter by default).
    Before:

    After:

JetBrains introduces Astella — a new IDE for ActionScript, Flex, AIR and HTML5 development!

Monday, October 3rd, 2011

As you may know, IntelliJ IDEA has high-class support for creating Flash, Flex and AIR applications as well as HTML5 interactive content. As more and more IntelliJ IDEA users adopted these languages, we realized that they deserved a dedicated product that would meet their specific needs and make them even more productive. So today we’re very excited to introduce Astella — our brand new IDE for Sprite masters, frameRate hunters and Canvas gurus. And if you’re just learning the language and the platform, remember: a great tool is half the battle : )
Astella has an outstanding level of ActionScript, MXML, JavaScript, HTML5 and CSS coding support, a Flex (and JavaScript?) debugger and FlexUnit test runner. It bundles an ActionScript profiler and a MXML Designer. And there’s more: Astella has a customized Flash/Flex project configuration interface that allows you to easily configure your project, no matter its size or complexity! At the same time, it’s lightweight and speedy and will never interfere with what you’re doing.

Astella Early Access Program is now open! Please download these builds at http://confluence.jetbrains.net/display/AS/Astella+EAP.
We’re looking forward to your feedback at Astella forums and issue tracker.

Check for updates at the Astella blog: http://blog.jetbrains.com/astella, follow @AstellaIDE on twitter and Facebook!

Develop with pleasure!
JetBrains Astella Team

Debugger: working with sub-ranges for arrays and lists

Friday, September 30th, 2011

During debugging IntelliJ IDEA shows only the first 100 elements of arrays and collections. It’s enough in most cases. However, it’s sometimes convenient to use a custom range. Exactly for this the ‘Adjust Range’ action has been available for arrays for quite a long time. But recently we’ve made a couple of improvements to it. Namely:

  • ‘Adjust Range’ works with lists now
  • adjusted range is preserved for local variables delivered to another stack frame

Quick demonstration example:

  1. Start debugger and wait until target break point is hit;
  2. Right click on target array/list and select the ‘Adjust Range…’ action:
  3. Define a range:
  4. Check the result: