Tag Archives: Refactoring

New Refactorings Around the Call Hierarchy in IntelliJ IDEA 14.1

  Sometimes it is convenient to work with all methods in a call hierarchy in the same way: add or remove a parameter throughout the entire call hierarchy, make the whole hierarchy static, or delete the whole call hierarchy completely. … Continue reading

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

IntelliJ IDEA 14.1 Introduces Extract Functional Parameter Refactoring

              Extract Surrounding Method: You have two methods that contain nearly identical code. The variance is in the middle of the method. Extract the duplication into a method that accepts a block and yields back … Continue reading

Posted in EAP Releases, New Features | Tagged , | 7 Comments

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 | 13 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 , , , | Leave a comment