Tag Archives: Refactoring

Extract Method Refactoring Improved in IntelliJ IDEA 14.1

<Extract method refactoring> turns a fragment into a method whose name explains the purpose of the method. Martin Fowler When we select a block of code, IntelliJ IDEA’s data flow analysis engine is able to deduce all local variables and … Continue reading

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

The Inspection Connection – Issue #4, Duplication Detection

One of the core principles of computer programming is eliminating manual repetition. Not only is repeated code time-consuming to read and review, it is disproportionately complex to maintain and provides a ready source of bugs when one copy changes. Yet … Continue reading

Posted in Tips & Tricks | Tagged , , | Leave a comment

30 Days with IntelliJ IDEA. Refactoring Basics

We’re continuing to publish new articles from the 30 Day Guide on the use of fundamental (and tricky, nevertheless) features of IntelliJ IDEA, and in today’s article we’re going to discuss the basics of refactoring. Did you know? It’s no secret that IntelliJ … Continue reading

Posted in Tips & Tricks | Tagged , | Leave a comment

New XML Refactorings for Android Developers

Recently, we’ve added a number of new refactorings for Android XML layout files. All the refactorings can be used right in the editor, in the UI designer (from “Design” panel or “Component Tree”) or can be invoked from the Structure … Continue reading

Posted in New Features | Tagged , , | 5 Comments

Want more from IntelliJ IDEA? Press the same shortcut again!

Sometimes you invoke an action and you don’t get what you wanted immediately. In such cases it may help to invoke the action again by pressing the same shortcut. In basic code completion (Ctrl+Space) this will list non-imported classes: It … Continue reading

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

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

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 … Continue reading

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

Refactoring in IntelliJ IDEA, Live by Robert C. Martin (Uncle Bob)

It’s still over 3 months before the holiday season, but we just got a great present from our long time friend Robert C. Martin (Uncle Bob) — a live refactoring demo performed by the legendary software expert himself. He’s, of … Continue reading

Posted in Demos, Tips & Tricks | Tagged | 14 Comments

ActionScript refactoring improvements in IntelliJ IDEA 10.5

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 … Continue reading

Posted in New Features | Tagged , , , | 1 Comment

New in 10.5: Introduce Refactorings for Groovy

In the upcoming IntelliJ IDEA 10.5 some new Groovy refactorings will appear. The first of them is Introduce Parameter. It allows you to select any expression inside a method and make from it a new method parameter. All the usages … Continue reading

Posted in New Features | Tagged , , | 4 Comments

Smarter and Faster Introduce Parameter in Java

As a logical next step after inplace introduce variable refactoring we did in IntelliJ IDEA 10, version 10.5 will offer inplace introduce parameter. Here is a brief overview of what we’re working on. Once called, it will gently ask you to … Continue reading

Posted in New Features | Tagged , , | 19 Comments