Tag Archives: Refactoring

Code Smells: Null

During my research on refactoring I’ve seen a number of patterns (smells) crop up again and again. None of these are particularly new, and there are plenty of books, blogs and videos that cover smells and how to deal with them, but I wanted … Continue reading

Posted in Tips & Tricks | Tagged , , , , | 24 Comments

Loads of Small Improvements in IntelliJ IDEA 2017.2

Many of the features we’re going to talk about in this post have been mentioned elsewhere in this blog, but here we’re going to bring them all together and show how to use them. Better Warnings You’ll have seen before … Continue reading

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

Webinar Recording: Refactoring with IntelliJ IDEA

Last week we had two exciting events: IntelliJ IDEA 2016.2 Public Preview announcement, and a webinar in which Bill Wake gave a one-hour masterclass on refactoring with IntelliJ IDEA. The preview is definitely worth a try, so please help yourself to … Continue reading

Posted in Tips & Tricks, Webinars | Tagged | 3 Comments

Live Webinar: Refactoring with IntelliJ IDEA

Join us Thursday, June 16th, 12:00 PM – 1:00 PM EDT (New York) / 18:00 – 19:00 CEST (Berlin) (check other time zones) for our free live webinar Refactoring with IntelliJ IDEA, featuring Bill Wake, a senior consultant with Industrial Logic and an author for … Continue reading

Posted in Webinars | Tagged | 2 Comments

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