Tricks

Tricks

Little IDE tricks that you might not know about.

Complete Statement

Tip

Complete Statement
Complete statement can add your semicolons, brackets and manage caret placement for you.
Create a new class

Tip

Create a new class
Create a new class and a new package.
JShell

Tip

JShell
Use JShell in IntelliJ IDEA to quickly evaluate Java expressions.
Zoom

Tip

Zoom
Zoom in and out on the IDE.
Endpoints tool window

Tip

Endpoints tool window
Work with endpoints to your application in a dedicated tool window.
Fix all in file

Tip

Fix all in file
Fix all occurrences of the same problem in the file.
Viewing Modes

Tip

Viewing Modes
Use different viewing modes.
Add logging

Tip

Add logging
Let IntelliJ IDEA add a logger to your class.
Presentation Mode

Tip

Presentation Mode
Enter and Exit Presentation Mode using the Quick Switch Scheme.
Wrap Chained Method Calls

Tip

Wrap Chained Method Calls
Start each chained method call on a new line.
Presenting with IntelliJ IDEA.

Tutorial

Presenting with IntelliJ IDEA.
Tips & tricks to level up your presentation skills with IntelliJ IDEA.
Setting an abbreviation

Part of tutorial

Setting an abbreviation
Use a unique abbreviation to quickly navigate to the Gradle tool window.
Delete file on rollback

Tip

Delete file on rollback
Delete unwanted files when doing a rollback.
Shortcuts and Abbreviations

Tip

Shortcuts and Abbreviations
Using shortcuts and abbreviations to speed up your navigation in your IDE.
Generate terminal commands using AI Assistant

Tip

Generate terminal commands using AI Assistant
Ask AI Assistant to write PowerShell or shell commands.
Running and Stopping a Process

Tip

Running and Stopping a Process
How to run and terminate/stop a process from your toolbar.
Reformat Your Code

Tip

Reformat Your Code
Reformat a specific piece of code or the whole file according to your preferences.
Evaluate Expression

Tip

Evaluate Expression
Evaluate an expression during a debugging session to learn more about the problem.
Magic Wand

Tip

Magic Wand
Use the magic wand to resolve simple conflicts in your code.
Open File

Tip

Open File
Open a file from the Project tool window.
Quick Documentation

Tip

Quick Documentation
Pull up Quick Documentation in the editor any time you need to.
Type Information

Tip

Type Information
Pull up Type Information for an expression
Split and move right

Tip

Split and move right
View two files side by side
Structure Tool Window

Tip

Structure Tool Window
Quickly get an overview of your class and jump to the relevant code.
Close Tabs

Tip

Close Tabs
Close inactive tabs so you an focus on your current working context.
Hide Tool Windows

Tip

Hide Tool Windows
Hide or restore all tool windows so you can keep your IDE exactly how you like it.
Search Collapsed Code

Tip

Search Collapsed Code
Search all your code, including collapsed code to find what you need.
VCS Popup

Tip

VCS Popup
Open VCS actions using keyboard shortcuts to save time.
Tips for Reading Code

Tutorial

Tips for Reading Code
Tips to help you read and understand code in IntelliJ IDEA.
Formatting

Part of tutorial

Formatting
Formatting Code in IntelliJ IDEA.
JetBrains AI Assistant

Part of tutorial

JetBrains AI Assistant
Using AI Assistant to understand code.
Refactoring

Part of tutorial

Refactoring
Refactoring code for understanding.
Structure

Part of tutorial

Structure
A quick view at the structure of the code.
Searching

Part of tutorial

Searching
Searching the code.
Introduction

Part of tutorial

Introduction
Reading Code in IntelliJ IDEA.
Reader mode

Part of tutorial

Reader mode
Render doc comments in Reader Mode.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Reading Code in IntelliJ IDEA Summary.
Version control (Git) history

Part of tutorial

Version control (Git) history
Using Version control (Git) history to understand the project.
Testing and debugging

Part of tutorial

Testing and debugging
Testing and debugging in IntelliJ IDEA.
Additional hints

Part of tutorial

Additional hints
Quick Documentation & Type Information.
File Structure

Tip

File Structure
Get a quick overview of the structure of your class file.
Select Opened File

Tip

Select Opened File
Locate an opened file in the project structure.
Custom Project Icons

Tip

Custom Project Icons
See how you can add a custom icon to your project.
Group projects

Tip

Group projects
Group your projects together in the Welcome Screen.
Creating Code

Tip

Creating Code
IntelliJ IDEA can help create code for you saving your fingers.
Using regex

Tip

Using regex
Using language injection to work with Regex.
Related Problems

Tip

Related Problems
Use IntelliJ IDEA's inlay hints to navigate to Related Problems.
Using SQL

Tip

Using SQL
Using language injection to work with SQL.
Debugging Streams

Tip

Debugging Streams
Visualize the flow of data through a Java stream.
Understanding the Debugger

Tip

Understanding the Debugger
Use the debugger to help you understand what your code is doing.
Gutter Icons

Tip

Gutter Icons
View information about your code by looking at the gutter icons.
Parameter Information

Tip

Parameter Information
Finding the parameter type can be really helpful for understanding your code.
Problem Window

Tip

Problem Window
Using the Problems tool window to find and fix errors as they occur.
Recent Files & Locations

Tip

Recent Files & Locations
Quickly navigate around your recent files & locations to stay in your current working context.
Viewing Scrollbars

Tip

Viewing Scrollbars
You can view a wealth of information about your code in the scrollbars.
Code Completion

Tip

Code Completion
Code completion in your IDE means you can focus on solving the problem at hand.
Multiple carets

Tip

Multiple carets
Use multiple carets in your code to make the same change in multiple places or work with lists.
Run Anything

Tip

Run Anything
How to use the Run Anything dialog to run, well, anything!
Code With Me

Tip

Code With Me
Collaborate with your friends and colleagues remotely by using Code With Me.
Feature Trainer

Tip

Feature Trainer
Learn IntelliJ IDEA features using the Feature Trainer.
Focus on your code

Tip

Focus on your code
Focus on your code window
Go to Declaration or Implementation

Tip

Go to Declaration or Implementation
Use Go to Declaration or Usages, and Go to Implementation to navgiate around your codebase.
Notifications

Tip

Notifications
Use the Notifications tool window to see what's happening with your project.
Productivity Guide

Tip

Productivity Guide
Ever wandered which features of IntelliJ IDEA you use the most?
Themes and Plugins

Tip

Themes and Plugins
How to find themes and install plugins.
Import project

Tutorial

Import project
Importing a project into IntelliJ IDEA.
Open project

Part of tutorial

Open project
Opening a project in IntelliJ IDEA.
Open multiple projects

Part of tutorial

Open multiple projects
Opening multiple repositories into one project in IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
Importing a project into IntelliJ IDEA.
Open recent project

Part of tutorial

Open recent project
Opening a recent project in IntelliJ IDEA.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Importing projects into IntelliJ IDEA Summary.
Project from existing model

Part of tutorial

Project from existing model
Importing a project from existing model.
Project from version control

Part of tutorial

Project from version control
Cloning a project from version control.
Import existing project

Part of tutorial

Import existing project
Importing an existing project into IntelliJ IDEA.
Project from existing sources

Part of tutorial

Project from existing sources
Importing a project from existing sources.
Duplicate Lines

Tip

Duplicate Lines
Sometimes you want to duplicate the current line or a selected block of code.
Refactor Rename

Tip

Refactor Rename
Quickly renaming classes, methods, and variables in IntelliJ IDEA.
Compare with Clipboard

Tip

Compare with Clipboard
Quickly compare two files right inside your IDE.
Font

Tip

Font
Configure your font, font size, and more so your IDE works for you.
Extract Variable

Tip

Extract Variable
Extract code to a variable
Presentation Mode Font Size

Tip

Presentation Mode Font Size
Configure font size for Presentation Mode to suit your audience.
Bookmarks

Tutorial

Bookmarks
Using bookmarks in IntelliJ IDEA
Add anonymous bookmarks

Part of tutorial

Add anonymous bookmarks
How to add bookmarks without an identifier.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Using bookmarks in IntelliJ IDEA Summary.
Introduction

Part of tutorial

Introduction
Using bookmarks in IntelliJ IDEA.
Navigate to bookmarks

Part of tutorial

Navigate to bookmarks
How to navigate to created bookmarks.
Create scratch files

Tip

Create scratch files
Turn show line numbers off and on
Show Line Numbers

Tip

Show Line Numbers
Turn show line numbers off and on as required.
Marco Codes - 7 Great Terminal/CLI tools

Tutorial

Marco Codes - 7 Great Terminal/CLI tools
exa, clink, rg & rga, plocate, bat, jq, f%$!
Built in Spell Checking

Tip

Built in Spell Checking
IntelliJ IDEA can spell check and fix errors for you allowing you to focus on problem solving.
Code Completion for the Stream API

Tip

Code Completion for the Stream API
IntelliJ IDEA can add the stream() call meaning less typing for you.
Different Viewing Modes for Your Code

Tip

Different Viewing Modes for Your Code
IntelliJ IDEA has lots of different ways for you to view your code depending on your requirements.
Run Anything

Tip

Run Anything
Launch run/debug configurations, applications, scripts, commands, tasks, and open recent projects.
Add Your Favourite Photo as a Background

Tip

Add Your Favourite Photo as a Background
If you want to look at your favourite photo while coding you can set it as your background image.
Rearranging Code in IntelliJ IDEA.

Tutorial

Rearranging Code in IntelliJ IDEA.
How you can rearrange code in your classes and projects
Reformatting Code in IntelliJ IDEA.

Tutorial

Reformatting Code in IntelliJ IDEA.
Why and how you can reformat code in your projects
Search Everywhere

Playlist

Search Everywhere
Tips for using one of the most helpful shortcuts in the IDE.
Type Into Any Dialog to Search

Tip

Type Into Any Dialog to Search
You can start typing into a dialog box to search, even if there's not a textual search box available.
Drag and Dock Editor Tabs

Tip

Drag and Dock Editor Tabs
You can move editor tabs around as required to suit your needs.