Marit van Dijk

Marit van Dijk

Java Developer Advocate

Convert Class to Record

Tip

Convert Class to Record
Use inspections to convert classes to Java 16 records.
Distraction Free Mode in IntelliJ IDEA

Tip

Distraction Free Mode in IntelliJ IDEA
Hide all UI elements (tool windows, toolbars, and editor tabs) so the editor occupies the entire main window with the source code centered.
Enable Git Staging

Tip

Enable Git Staging
Git Staging is an alternative approach to IntelliJ IDEA Changelists.
Evaluate JSON Path Expressions

Tip

Evaluate JSON Path Expressions
Use IntelliJ IDEA to check if your JSON Path expression are correct.
Create New Class

Tip

Create New Class
Quickly add new classes to your project.
Inline code completion

Tip

Inline code completion
Let AI Assistant write code for you, using inline code completion.
Explain Regexp with AI Assistant

Tip

Explain Regexp with AI Assistant
Using AI Assistant to help you understand regexp.
Generate code with AI Assistant

Tip

Generate code with AI Assistant
Let AI Assistant write code for you, based on your prompts.
Edit commit message

Tip

Edit commit message
Edit an existing commit message; use AI Assistant to Improve Commit Message.
Extend Selection

Tip

Extend Selection
Extend and shrink your current code selection.
Mnemonic bookmark

Tip

Mnemonic bookmark
Use mnemonic bookmarks for easy navigation.
Run inspection

Tip

Run inspection
Run inspection by name. For example, run Vulnerable API usage to see where the vulnerable API of external dependencies is used in your code.
Custom prompts

Tip

Custom prompts
Use a custom prompt to let AI Assistant help you.
Open the AI Assistant chat window

Tip

Open the AI Assistant chat window
Open the AI Assistant chat window from Recent Files.
Use code from chat

Tip

Use code from chat
Apply code snippets from the AI Assistant chat window to your project.
Extract Method

Tip

Extract Method
Extract code to a new method.
Presentation Assistant

Tip

Presentation Assistant
Use Presentation Assistant to display shortcuts being used.
Vulnerable API Usage

Tip

Vulnerable API Usage
See whether you are using the vulnerable API of a dependency.
Download a JDK

Tip

Download a JDK
Download or Associate a JDK With Your Project.
Generate constructors and accessor methods

Tip

Generate constructors and accessor methods
Quickly generate common code constructs such as Constructors, Getters and Setters.
Generate a UML diagram

Tip

Generate a UML diagram
IntelliJ IDEA Ultimate allows you to generate UML diagrams.
Running and Stopping a Process

Tip

Running and Stopping a Process
How to run and terminate/stop a process from your toolbar.
Commit Changes

Tip

Commit Changes
Commit your changes to VCS as you go.
Disable Usages

Tip

Disable Usages
Disable the inlay hint for Usages if it's distracting you.
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
AI Assistant Chat

Tip

AI Assistant Chat
You can chat with JetBrains AI Assistant right inside the IDE.
Find in File

Tip

Find in File
Find a specific name or string in your file.
Generate Unit Tests

Tip

Generate Unit Tests
Generate unit tests with AI Assistant.
Structure Tool Window

Tip

Structure Tool Window
Quickly get an overview of your class and jump to the relevant code.
Split and move right

Tip

Split and move right
View two files side by side
Toggle Rendered View

Tip

Toggle Rendered View
Toggle rendered view for one or all Javadoc comments.
AI Actions

Tip

AI Actions
View and use AI Actions in the editor.
Close Tabs

Tip

Close Tabs
Close inactive tabs so you an focus on your current working context.
Expand and Collapse Code

Tip

Expand and Collapse Code
Quickly view specific parts of a class by expanding or collapsing code blocks.
Hide Tool Windows

Tip

Hide Tool Windows
Hide or restore all tool windows so you can keep your IDE exactly how you like it.
Move Statement

Tip

Move Statement
Move a statement up or down within the same scope.
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.
Introduction

Part of tutorial

Introduction
Reading Code in IntelliJ IDEA.
Additional hints

Part of tutorial

Additional hints
Quick Documentation & Type Information.
Refactoring

Part of tutorial

Refactoring
Refactoring code for understanding.
Reader mode

Part of tutorial

Reader mode
Render doc comments in Reader Mode.
Searching

Part of tutorial

Searching
Searching the code.
Structure

Part of tutorial

Structure
A quick view at the structure of the code.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Reading Code in IntelliJ IDEA Summary.
Testing and debugging

Part of tutorial

Testing and debugging
Testing and debugging in IntelliJ IDEA.
Version control (Git) history

Part of tutorial

Version control (Git) history
Using Version control (Git) history to understand the project.
Build a Spring Boot App with AI Assistant

JetBrains Blog

Build a Spring Boot App with AI Assistant
Build a small Java Spring Boot web application in IntelliJ IDEA with the help of JetBrains AI Assistant.
Explain Runtime Error with AI Assistant

Tip

Explain Runtime Error with AI Assistant
Let AI Assistant explain runtime errors to you.
File Structure

Tip

File Structure
Get a quick overview of the structure of your class file.
Interactive Rebase

Tip

Interactive Rebase
Clean up your commit history by using interactive rebase in IntelliJ IDEA.
Select Opened File

Tip

Select Opened File
Locate an opened file in the project structure.
Write Documentation with AI Assistant

Tip

Write Documentation with AI Assistant
Generate documentation for your code with AI Assistant.
Custom Project Icons

Tip

Custom Project Icons
See how you can add a custom icon to your project.
Dependency Matrix

Tip

Dependency Matrix
Explore project structure with the Dependency Matrix.
Group projects

Tip

Group projects
Group your projects together in the Welcome Screen.
Refactor rename with AI Assistant

Tip

Refactor rename with AI Assistant
Use the power of AI Assistant for even better naming suggestions.
Show Diff for Failing Test

Tip

Show Diff for Failing Test
Quickly see the diff for a failing test to debug it faster.
AI

Topic

AI
Comprising JetBrains AI Assistant and Full Line Code Completion
Presentation Assistant plugin

Part of tutorial

Presentation Assistant plugin
Using the Presentation Assistant plugin to show shortcuts.
Selectively Commit Changes

Tip

Selectively Commit Changes
Selectively commit a subset of changes in a file to VCS.
Annotate with Git Blame: Show Diff

Tip

Annotate with Git Blame: Show Diff
Look at the diff a change was part of from Annotate with Git Blame.
Annotate with Git Blame: Commit

Tip

Annotate with Git Blame: Commit
Look at the commit a change was part of from Annotate with Git Blame.
Import Multiple Repositories

Tip

Import Multiple Repositories
Import multiple related repositories into one IntelliJ IDEA project.
Optimize imports

Tip

Optimize imports
Remove unused imports from your code with one keyboard shortcut.
Rename Bookmark

Tip

Rename Bookmark
Rename an existing bookmark to something more suitable.
CamelCase in Code Completion

Tip

CamelCase in Code Completion
Use CamelCase in code completion to speed up your workflow.
Generate a Test Class

Tip

Generate a Test Class
Generate a new test class from your Java class.
Inline Variable

Tip

Inline Variable
Sometimes inlining a variable can make your code more readable.
Introduce Variable

Tip

Introduce Variable
Refactor your code and introduce a new variable right when you need it.
Postfix Completion

Tip

Postfix Completion
Postfix completion allows you to keep typing forwards, it minimises the amount of time you spend moving the cursor around while you're coding.
Surround With

Tip

Surround With
Surround your code with common programming constructs.
Creating Code

Tip

Creating Code
IntelliJ IDEA can help create code for you saving your fingers.
Live Templates

Tip

Live Templates
Use Live Templates to auto-complete common code structures for you.
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.
Understanding the Debugger

Tip

Understanding the Debugger
Use the debugger to help you understand what your code is doing.
Debugging Streams

Tip

Debugging Streams
Visualize the flow of data through a Java stream.
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.
Clipboard History

Tip

Clipboard History
Paste a subset or multiple entries such as a list from your recent copy history.
Data Flow Analysis

Tip

Data Flow Analysis
Data flow analysis can show us potential errors in our code logic.
Go to Next Error

Tip

Go to Next Error
Quickly move to the next (or previous) error or warning in the file.
Find in Files

Tip

Find in Files
Find a specific string in (a subset of files in) your code.
Manage Dependencies

Tip

Manage Dependencies
Manage all your dependencies in the Dependencies tool window.
Structural Search

Tip

Structural Search
Structural Search and Replace is very helpful for finding exactly what you need in your project.
Code Completion

Tip

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

Tip

Context Actions
There are numerous ways to use Context Actions, let's explore some of them.
Generate Code

Tip

Generate Code
Helps you to generate commonly used code constructs.
Multiple carets

Tip

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

Tip

Navigate to Test
Go to your matching test class with one keyboard shortcut.
Run Anything

Tip

Run Anything
How to use the Run Anything dialog to run, well, anything!
Navigating Forward & Backward

Tip

Navigating Forward & Backward
Move forward and backward between your locations in the code so you don't need to have tabs open.
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.
Select Kotlin Multiplatform dependencies

Tip

Select Kotlin Multiplatform dependencies
Select Kotlin Multiplatform dependencies in the Dependencies tool window.
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?
Remove Dependency

Tip

Remove Dependency
Remove dependency in the Dependencies tool window.
Shortcuts and Abbreviations

Tip

Shortcuts and Abbreviations
Using shortcuts and abbreviations to speed up your navigation in your IDE.
Themes and Plugins

Tip

Themes and Plugins
How to find themes and install plugins.
Upgrade Dependencies

Tip

Upgrade Dependencies
Upgrade dependencies from the Dependencies tool window.
Explore project structure with the Dependency Matrix

Tutorial

Explore project structure with the Dependency Matrix
Exploring project structure with the Dependency Matrix in IntelliJ IDEA.
Interpret the Dependency Matrix

Part of tutorial

Interpret the Dependency Matrix
How to interpret the Dependency Matrix.
Introduction

Part of tutorial

Introduction
Explore project structure with the Dependency Matrix.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Explore project structure with the Dependency Matrix Summary.
Opening the Dependency Matrix

Part of tutorial

Opening the Dependency Matrix
Opening the Dependency Matrix for your project.
Import project

Tutorial

Import project
Importing a project into IntelliJ IDEA.
Import existing project

Part of tutorial

Import existing project
Importing an existing project into 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.
Open project

Part of tutorial

Open project
Opening a project in IntelliJ IDEA.
Project from version control

Part of tutorial

Project from version control
Cloning a project from version control.
Summary and Shortcuts

Part of tutorial

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

Part of tutorial

Project from existing sources
Importing a project from existing sources.
Project from existing model

Part of tutorial

Project from existing model
Importing a project from existing model.
GitLab Merge Requests

Tutorial

GitLab Merge Requests
Working with GitLab Merge Requests.
Adding comments

Part of tutorial

Adding comments
Adding comments from GitLab and IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
Working with GitLab Merge Requests.
Logging in to GitLab

Part of tutorial

Logging in to GitLab
Logging in to GitLab from IntelliJ IDEA.
Reviewing GitLab Merge Requests

Part of tutorial

Reviewing GitLab Merge Requests
Reviewing GitLab Merge Requests inside IntelliJ IDEA.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Working with GitLab Merge Requests Summary.
GitLab Merge Request tool window

Part of tutorial

GitLab Merge Request tool window
The GitLab Merge Request tool window.
View GitLab Merge Requests

Part of tutorial

View GitLab Merge Requests
View GitLab Merge Requests inside IntelliJ IDEA.
Contributing to open source software; creating a pull request

Tutorial

Contributing to open source software; creating a pull request
Contribute code to someone else's GitHub project with a pull request.
Making changes to code

Part of tutorial

Making changes to code
Making and committing our changes.
Creating the pull request

Part of tutorial

Creating the pull request
How to create a pull request on GitHub.
Getting the project

Part of tutorial

Getting the project
Forking and cloning the project.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Contributing to open source software Summary.
Negotiating the review process

Part of tutorial

Negotiating the review process
Review and hopefully get your pull request merged.
Introduction

Part of tutorial

Introduction
Contributing to open source software.
Analyzing dependencies

Tutorial

Analyzing dependencies
Analyzing dependencies in IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
How to analyze dependencies in IntelliJ IDEA.
Dependency Analyzer

Part of tutorial

Dependency Analyzer
Using the Dependency Analyzer in IntelliJ IDEA.
Dependency Diagram

Part of tutorial

Dependency Diagram
Using the Dependency Diagram in IntelliJ IDEA Ultimate.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
A summary of how to analyze dependencies in IntelliJ IDEA.
Dependency Details Pane

Tip

Dependency Details Pane
See relevant information about your dependencies.
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.
Upgrade Dependencies

Tip

Upgrade Dependencies
Upgrade dependencies from your `pom.xml` file.
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.
Presentation Mode

Tip

Presentation Mode
Enter and Exit Presentation Mode using the Quick Switch Scheme.
Bookmarks

Tutorial

Bookmarks
Using bookmarks in IntelliJ IDEA
Add anonymous bookmarks

Part of tutorial

Add anonymous bookmarks
How to add bookmarks without an identifier.
Introduction

Part of tutorial

Introduction
Using bookmarks in IntelliJ IDEA.
Add mnemonic bookmarks

Part of tutorial

Add mnemonic bookmarks
How to add bookmarks with an identifier.
Navigate to bookmarks

Part of tutorial

Navigate to bookmarks
How to navigate to created bookmarks.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Using bookmarks in IntelliJ IDEA Summary.
Package Checker

Tutorial

Package Checker
Find and fix vulnerabilities inside IntelliJ IDEA Ultimate.
Gradle projects

Part of tutorial

Gradle projects
View vulnerable dependencies in Gradle projects.
Introduction

Part of tutorial

Introduction
Package Checker plugin in IntelliJ IDEA Ultimate.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Find and fix vulnerabilities inside IntelliJ IDEA Ultimate Summary.
Remediate dependencies

Part of tutorial

Remediate dependencies
Remediate dependencies using IntelliJ IDEA Ultimate.
Maven projects

Part of tutorial

Maven projects
View vulnerable dependencies in Maven projects.
Vulnerable Dependencies tool window

Part of tutorial

Vulnerable Dependencies tool window
View vulnerable dependencies in the Vulnerable Dependencies tool window.
Enable Mouse Zoom

Tip

Enable Mouse Zoom
Enable mouse zoom to quickly enlarge (or reduce) your font size.
Refactor This

Tip

Refactor This
You can use one keyboard shortcut for all refactoring options inside your IDE.
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.
Managing dependencies

Tutorial

Managing dependencies
Managing dependencies in IntelliJ IDEA.
Add dependencies

Part of tutorial

Add dependencies
Different ways to add dependencies in IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
Managing dependencies in IntelliJ IDEA.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Managing dependencies in IntelliJ IDEA Summary.
Upgrade dependencies

Part of tutorial

Upgrade dependencies
Upgrade dependencies using Package Search.
Remove dependencies

Part of tutorial

Remove dependencies
Remove dependencies using Package Search.
Viewing dependencies

Tutorial

Viewing dependencies
Different ways to view dependencies in IntelliJ IDEA.
Dependency management config file

Part of tutorial

Dependency management config file
View dependencies in the dependency management config file.
Build tool window

Part of tutorial

Build tool window
View dependencies in the build tool window.
Dependency tool window

Part of tutorial

Dependency tool window
View dependencies in the dependency tool window.
Introduction

Part of tutorial

Introduction
Different ways to view dependencies in IntelliJ IDEA.
Project tool window

Part of tutorial

Project tool window
View dependencies in the Project tool window.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
View dependencies in IntelliJ IDEA Summary.
Presenting with IntelliJ IDEA.

Tutorial

Presenting with IntelliJ IDEA.
Tips & tricks to level up your presentation skills with IntelliJ IDEA.
Introduction to Presenting with IntelliJ IDEA

Part of tutorial

Introduction to Presenting with IntelliJ IDEA
Tips & tricks to level up your presentation skills with IntelliJ IDEA.
Font

Part of tutorial

Font
Configuring font and font size.
Mouse Zoom

Part of tutorial

Mouse Zoom
How to enable mouse zoom.
Bookmarks

Part of tutorial

Bookmarks
Using bookmarks for navigation.
Navigation

Part of tutorial

Navigation
Shortcuts to navigate a project.
Using Presentation Mode

Part of tutorial

Using Presentation Mode
How to enter and exit Presentation Mode.
Shortcuts

Part of tutorial

Shortcuts
Ways to learn shortcuts.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Presenting with IntelliJ IDEA Summary.
Soft-wrap

Part of tutorial

Soft-wrap
Use soft-wrap to prevent horizontal scrolling.
Theme

Part of tutorial

Theme
Selecting a theme.
Tool windows

Part of tutorial

Tool windows
Using tool windows with shortcuts.
Git interactive rebase

Tutorial

Git interactive rebase
How to clean up your Git commit history with Git interactive rebase.
Introduction to Git interactive rebase

Part of tutorial

Introduction to Git interactive rebase
What is Git interactive rebase and why would you use it?
From the Command Line

Part of tutorial

From the Command Line
Using Git interactive rebase from the command line.
From the UI

Part of tutorial

From the UI
Using Git interactive rebase in the UI.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Git interactive rebase Summary.
Marit van Dijk

Author

Marit van Dijk
Java Developer Advocate