DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Setting Up a Local Development Environment With IntelliJ, DevContainers, and Amazon Linux 2023
  • IntelliJ and Java Spring Microservices: Productivity Tips With GitHub Copilot
  • Using Unblocked to Fix a Service That Nobody Owns
  • How To Approach Dependency Management in Java [Video]

Trending

  • Optimizing Databricks Spark Pipelines Using Declarative Patterns
  • Design Patterns for GenAI Creative Systems in Advertising
  • Chaos Engineering Has a Blind Spot. Agentic AI Lives in It.
  • Building a Skill-Based Agentic Reviewer with Claude Code: A Practical Guide Using Skills.MD, MCP Servers, Tools, and Tasks
  1. DZone
  2. Coding
  3. Tools
  4. Tips for Using IntelliJ IDEA Effectively [Video]

Tips for Using IntelliJ IDEA Effectively [Video]

Learn how to use IntelliJ IDEA to its full potential.

By 
Sebastian Daschner user avatar
Sebastian Daschner
·
May. 02, 21 · Presentation
Likes (5)
Comment
Save
Tweet
Share
5.2K Views

Join the DZone community and get the full member experience.

Join For Free

I wanted to share my tips and tricks that and especially some keyboard shortcuts that make me more productive when using IntelliJ IDEA. IntelliJ is my favorite IDE and a very well-thought-out program in general, and despite trying to learn the countless shortcuts available, there are a few that give you the biggest productivity boost already.


My frequently used features and shortcuts that I showed in the video are:

Coding

  • IdeaVIM

  • Live templates (e.g. main → public static void main( …)

  • Postfix completion (e.g. "Hello".sout → System.out.println("Hello");)

  • Ctrl+Space:  Basic code completion

  • Ctrl+Shift+Enter:  Complete current statement

  • Alt+Enter:  Show context actions (aka “quick fix”)

  • Ctrl+Alt+L:  Reformat code (and optimize imports when activated)

  • Ctrl+B:  Go to declaration/usage

  • Ctrl+Shift+B:  Go to implementation(s)

  • Ctrl+U:  Go to super method

  • Alt+Insert:  Generate code

  • F2:  Next highlighted error

  • Ctrl+Alt+V/F/C/P:  Extract variable/field/constant/parameter

  • Ctrl+Alt+N:  Inline

  • Ctrl+F12:  File structure (e.g. list of methods)

Navigating

  • Ctrl+N:  Go to class

  • Ctrl+Shift+N:  Go to file

  • Shift+Shift:  Find all

  • Alt+1:  Project view

  • Alt+F1+Enter:  Jump to file in project view

  • Ctrl+Shift+F:  Find in files

  • Alt+Left/Right:  Switch open files

  • NerdTree in IdeaVIM

Running

  • Ctrl+Shift+F10:  Run current context

  • Shift+F10:  Run

  • Shift+F9:  Debug

  • F7/F8/F9:  (debug mode) Step into/Step over/Resume program

intellij

Published at DZone with permission of Sebastian Daschner. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Setting Up a Local Development Environment With IntelliJ, DevContainers, and Amazon Linux 2023
  • IntelliJ and Java Spring Microservices: Productivity Tips With GitHub Copilot
  • Using Unblocked to Fix a Service That Nobody Owns
  • How To Approach Dependency Management in Java [Video]

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook