Tag Archives: Refactoring

Smarter and Faster Introduce Variable in Java

Introduce variable is one of those refactorings used many times a day. So, how can we make it work faster? Get rid of modal dialogs! So, in order to introduce a variable from an expression press Ctrl+Alt+V. Remember modal dialog? … Continue reading

Posted in New Features | Tagged , | 22 Comments

Extract Interface and Extract Superclass refactorings for ActionScript/Flex

ActionScript/Flex development support in IntelliJ IDEA eventually gets closer to the unbeaten level of its Java assistance. Today it’s time to Extract Interface and Superclass. Let’s illustrate this feature on a simple example…

Posted in Tips & Tricks | Tagged , , , | 1 Comment

WSDL improvements in IDEA X

If you work a lot with WSDL, you will find new IntelliJ IDEA X refactorings, code completions and validations very handy. Be it schema or WSDL, import inside a WSDL document is not a problem anymore. Also, we are looking … Continue reading

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

Smarter Introduce Variable in JavaScript

Introduce variable is a very useful refactoring and is probably used quite often and for many languages IntelliJ IDEA supports. JavaScript is one of them (along with ActionScript). IntelliJ IDEA 10 makes this refactoring even easier and more pleasant to … Continue reading

Posted in New Features | Tagged , , , , | Leave a comment

Maven refactorings: Introduce Property

Sometimes while editing pom.xml one needs to define a property and replace the occurrences of some value – artifact version, for example, – with this property. Now you can use the new IDEA  Introduce Property refactoring for these purposes. To … Continue reading

Posted in New Features | Tagged , , | 10 Comments

New ActionScript/Flex Refactoring: Push Members Down

In addition to other refactorings, Maia also has this useful refactoring: push members down the classes hierarchy. Again, let’s try it on a simple example.

Posted in New Features | Tagged , , , | Leave a comment

New ActionScript/Flex Refactoring: Pull Members Up

Today we’re continuing our series of posts about new ActionScript/Flex refactorings that you can find in the latest Maia EAP, with presentation of this new aid: pull class members up the classes hierarchy. Let’s have look at this simple example.

Posted in New Features | Tagged , , , | Leave a comment

New ActionScript/Flex Refactoring: Move Static Members

Next Maia’s EAP will bring you new refactoring that helps to be more productive when coding ActionScript or Flex. Now you can easily move static methods, properties, fields and constants between AS classes and Mxml components: just place caret on … Continue reading

Posted in New Features | Tagged , , , | Leave a comment

Inline Variable Refactoring for JavaScript / ActionScript

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. Pressing Control+Alt+N (default Windows … Continue reading

Posted in New Features | Tagged , , , , | Leave a comment

Structural search and replace

Searching through a large project is always tiresome. Changing a large project is usually more tiresome even with all cool IDE features such as search by regular expressions, find usages, or automated refactoring. For example, you may need to find … Continue reading

Posted in Tips & Tricks | Tagged | 3 Comments