IntelliJ IDEA – the IDE for Professional Development in Java and Kotlin
In March 2014, the Ice Bucket Challenge helped the internet come together to fight ALS. Disney’s Frozen taught a generation of children to Let It Go, and the community saw the release of Java 8 LTS to much fanfare. In fact, as per the JetBrains Developer Ecosystem survey, Java 8 still holds the top …
Previously, we explored how to throw exceptions in Java to signal error conditions in our code. But throwing exceptions is only half the story. To build robust and reliable applications, we also need to know how to handle them effectively. In this post, we’ll explore how you can handle exceptions…
Exceptions in Java are used to indicate that an event occurred during the execution of a program and disrupted the normal flow of instructions. When an exception occurs, the Java runtime automatically stops the execution of the current method. It passes an exception object with information about the…
Good code follows certain rules, and knowing them increases your chances of success. We’d like to share some Java best practices that will help you on your way. We'll cover the must-know tips and tricks, from broad advice on software development to Java- and project-specific know-how. Let's get star…
Polymorphism is the ability of an object to take on different forms. In programming, this means that a variable or a method can have different behaviors depending on the type of object it represents. While the term may sound intimidating to beginners, polymorphism is a powerful tool: it helps you re…
Inheritance is one of the fundamental attributes of object-oriented programming, in Java and other programming languages. It lets you create classes that are derived from another class (base class or superclass) and reuse, extend, or modify the behavior of the superclass. This principle allows you t…
Starting with Java can feel overwhelming – there are so many options and so little time. That's where this article comes in handy – consider it your roadmap to learning Java with ease. Whether you're just starting out or have watched every Java tutorial in existence but still feel stuck, we’ve compi…
In this blog, we’re going to take a look at the Feature Trainer in IntelliJ IDEA. New and existing users to IntelliJ IDEA can use this to get more familiar with the shortcuts, features and workflows that the IDE has to offer. You can watch the associated screencast here if you prefer. We integrated…
People unfamiliar with IntelliJ IDEA keep always asking me, why it's better than other products. Today we have decided to make a short overview of some very basic features, that let developers be more productive every day. In this episode we will show you some of the basic shortcuts for test-driven…
Sometimes I find myself writing repetitive code constructs without being able to extract common code due to Java syntax hmm... let's call them peculiarities. 'Sounds like a job for a live template', I think, and I simply create it. Here's how. The documentation has it too, but a good example never h…
There's a lot of useful actions in IntelliJ IDEA that don't have shortcuts for many different reasons: they're not used too often or there's simply no more convenient key combinations left. For example, I often want to get access to VCS actions like Compare with latest repository version or Revert c…
Do you use second smart completion feature? Did you know that it also can help you when you have an array and want an element of it? Just press Ctrl+Shift+Space two times when completing:…