IntelliJ IDEA – the IDE for Professional Development in Java and Kotlin
As you know, two of the most popular basic refactorings that IntelliJ IDEA offers are Extract Method and Inline Method. The first makes the method shorter and more readable, while the other minimizes the number of unneeded methods, and makes the code more straightforward. In IntelliJ IDEA you can us…
In this blog, we're going to look at 3 ways to refactor your code in IntelliJ IDEA. https://www.youtube.com/watch?v=HgWU25YwDfc This blog post covers the same material as the video with some additional tips and tricks. This provides an easy way for people to skim the content quickly if they prefer r…
The idea of Inline Method Refactoring is simple – replace a method call with its contents. Still, it is really powerful. But to appreciate its power, you need to know its use cases. Let’s understand why, when, and how to apply the Inline Method refactoring and how IntelliJ IDEA can help you get s…
As a code base ages, new code is added, and the existing code is modified to meet the business requirements. This can often have a negative impact on the design and structure of the code. Developers may fear working with such code as it is difficult to understand, modify, or extend. As a develope…
Or: argh! Where do I start?! This is part of a series investigating code that looks suspicious ("code smells"), and exploring possible alternatives. Code Smells: Null Code Smells: Deeply Nested Code Code Smells: Iteration Code Smells: Mutation Code Smells: Multi-Responsibility Methods…
This is part of a series investigating code that looks suspicious ("code smells"), and exploring possible alternatives. Code Smells: Null Code Smells: Deeply Nested Code Code Smells: Iteration Code Smells: Mutation Code Smells: Multi-Responsibility Methods Code Smells: If Statements …
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 that IntelliJ IDEA can analyse your code and tell you if something isn't nee…
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 it (don't forget to share your feedback, of course…
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 several books, on XP, refactoring and desig…