IntelliJ IDEA’s Feature Trainer
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 the Feature Trainer into IntelliJ IDEA in version 2020.3. It’s available in both our Community Edition and Ultimate from the Learn IntelliJ IDEA tab on the Welcome screen. You can press Start Learning to get started. This loads a learning project for you on your machine in the default location f
IntelliJ IDEA Productivity Tips. Part 1
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 development. The video comes with transcription in subtitles. Check it out. See if you know and use all these basic features. (more…)
Creating live templates from… templates
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 hurts. Let's suppose you have read/write synchronization in your project, and from time to time you need to wrap a bunch of statements in, say, a read action. This involves putting them into a Runnable and giving the latter to some runReadAction method. Do you still do this manually? You don't need
Quick Lists to Group Your Favorite Actions
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 current file or even submit a single file with a quick NPE fix without opening a menu or going to Changes view. So how can I call any of these actions with a single shortcut? That's really easy: I just need to define my own Quick List and map it to a shortcut (Control-X in my case). After I've done t
Second Smart Completion for Array Elements
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:
Create a Class Really Quickly
To quickly create a new class I press Alt+Home and then Alt+Ins. And you?
Quick Navigation to Project Structure
To change settings of a module that hosts the file you are currently editing, just press Alt+F1, 7 or open the View menu, select Select In and click Project Structure.IntelliJ IDEA will open the Project Structure dialog and jump to the required module.This action works for files from libraries and JDK, too, and is available in every view that lists files — Project View, Changes tool window and so on.