Marit van Dijk

Marit van Dijk

Java Developer Advocate

Add a Breakpoint

Tip

Add a Breakpoint
Add breakpoints when you get an exception in your code.
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.
Inlay Hints

Tip

Inlay Hints
Inlay hints provide additional information about your code.
JShell

Tip

JShell
Use JShell in IntelliJ IDEA to quickly evaluate Java expressions.
Show diff with working tree

Tip

Show diff with working tree
Show the changes on a branch with the working tree.
Work with records

Tip

Work with records
Create a record, or convert between classes and records.
Zoom

Tip

Zoom
Zoom in and out on the IDE.
Explain Spring Data QL fragment

Tip

Explain Spring Data QL fragment
Let AI Assistant explain a Spring Data QL fragment.
Inline Completion Shortcut

Tip

Inline Completion Shortcut
Choose which key to use for inline AI completion.
Resolve merge conflict

Tip

Resolve merge conflict
Let AI Assistant help you resolve merge conflicts.
Endpoints tool window

Tip

Endpoints tool window
Work with endpoints to your application in a dedicated tool window.
Go to Next Error

Tip

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

Tip

Fix all in file
Fix all occurrences of the same problem in the file.
Manage VCS Changelists in IntelliJ IDEA

Tip

Manage VCS Changelists in IntelliJ IDEA
Group and commit changes related to certain tasks so you have a cleaner commit history.
Viewing Modes

Tip

Viewing Modes
Use different viewing modes.
Explain Cron Fragment with AI Assistant

Tip

Explain Cron Fragment with AI Assistant
Using AI Assistant to help you understand a cron fragment.
Discover Features

Tip

Discover Features
Discover AI Assistant Features right inside the IDE.
Tag files, symbols, etc.

Tip

Tag files, symbols, etc.
Tag files, symbols and more to make AI Assistant even smarter.
Use AI Assistant in the Terminal

Tip

Use AI Assistant in the Terminal
Ask AI Assistant to generate commands in the Terminal.
Add logging

Tip

Add logging
Let IntelliJ IDEA add a logger to your class.
Find Next Word

Tip

Find Next Word
Find next word and highlight all instances.
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.
7 Things You Didn’t Know about AI Assistant Chat

YouTube

7 Things You Didn’t Know about AI Assistant Chat
Discover 7 things you might not know about using JetBrains AI Assistant Chat.
7 Ways AI Assistant Can Help You with Version Control

YouTube

7 Ways AI Assistant Can Help You with Version Control
Let's look at ways that JetBrains AI Assistant can help you work with version control.
The Problem of Understanding Code is Solved: AI Assistant to the Rescue

YouTube

The Problem of Understanding Code is Solved: AI Assistant to the Rescue
Let's look at using JetBrains AI Assistant to help you understand existing code.
Bookmarks

Part of tutorial

Bookmarks
Using bookmarks for navigation.
Font

Part of tutorial

Font
Configuring font and font size.
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.
Mouse Zoom

Part of tutorial

Mouse Zoom
How to enable mouse zoom.
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.
Presentation Assistant plugin

Part of tutorial

Presentation Assistant plugin
Using the Presentation Assistant plugin to show shortcuts.
Soft-wrap

Part of tutorial

Soft-wrap
Use soft-wrap to prevent horizontal scrolling.
Change your Code Font Weight

Tip

Change your Code Font Weight
We spend hours looking at our code so let's make it as pleasant as possible.
Command in chat

Tip

Command in chat
Use predefined command in chat.
Inline code completion

Tip

Inline code completion
Let AI Assistant write code for you, using inline code completion.
Create an Editor Fold

Tip

Create an Editor Fold
Create an editor fold to hide parts of your class which can make it more readable.
Generate Overrides for equals(), hashCode() and toString()

Tip

Generate Overrides for equals(), hashCode() and toString()
We can generate the code to override the equals and hashCode methods.
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.
Surround With

Tip

Surround With
Surround your code with common programming constructs.
View supertype and subtype hierarchy

Tip

View supertype and subtype hierarchy
You can view supertypes and subtypes in the hierarchy quickly with your keyboard shortcuts.
Marco Behler

Author

Marco Behler
Product Manager TeamCity & Java Developer Advocate
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.
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.
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.
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.
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.
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.
AI

Topic

AI
Comprising JetBrains AI Assistant and Full Line Code Completion
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.
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.
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.
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.
Find in Files

Tip

Find in Files
Find a specific string in (a subset of files in) your code.
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.
Navigate to Test

Tip

Navigate to Test
Go to your matching test class with one keyboard shortcut.
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.
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.
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.
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.
Summary and Shortcuts

Part of tutorial

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

Part of tutorial

Introduction
Explore project structure with the Dependency Matrix.
Interpret the Dependency Matrix

Part of tutorial

Interpret the Dependency Matrix
How to interpret the Dependency Matrix.
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.
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.
GitLab Merge Requests

Tutorial

GitLab Merge Requests
Working with GitLab Merge Requests.
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.
Adding comments

Part of tutorial

Adding comments
Adding comments from GitLab and IntelliJ IDEA.
GitLab Merge Request tool window

Part of tutorial

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

Part of tutorial

Reviewing GitLab Merge Requests
Reviewing GitLab Merge Requests inside IntelliJ IDEA.
View GitLab Merge Requests

Part of tutorial

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

Part of tutorial

Summary and Shortcuts
Working with GitLab Merge Requests Summary.
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.
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.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Contributing to open source software Summary.
Analyzing dependencies

Tutorial

Analyzing dependencies
Analyzing dependencies 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 Analyzer

Part of tutorial

Dependency Analyzer
Using the Dependency Analyzer in IntelliJ IDEA.
Introduction

Part of tutorial

Introduction
How to analyze dependencies in IntelliJ IDEA.
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.
Add mnemonic bookmarks

Part of tutorial

Add mnemonic bookmarks
How to add bookmarks with an identifier.
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.
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.
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.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Managing dependencies in IntelliJ IDEA Summary.
Introduction

Part of tutorial

Introduction
Managing dependencies in IntelliJ IDEA.
Upgrade dependencies

Part of tutorial

Upgrade dependencies
Upgrade dependencies
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.
Introduction

Part of tutorial

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

Part of tutorial

Build tool window
View dependencies in the build tool window.
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
View dependencies in IntelliJ IDEA Summary.
Project tool window

Part of tutorial

Project tool window
View dependencies in the Project tool window.
Git interactive rebase

Tutorial

Git interactive rebase
How to clean up your Git commit history with Git interactive rebase.
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.
Introduction to Git interactive rebase

Part of tutorial

Introduction to Git interactive rebase
What is Git interactive rebase and why would you use it?
Summary and Shortcuts

Part of tutorial

Summary and Shortcuts
Git interactive rebase Summary.
Marit van Dijk

Author

Marit van Dijk
Java Developer Advocate