Better Programming

Advice for programmers.

Follow publication

Member-only story

8 Productivity-Boosting IntelliJ Shortcuts for Android Developers

Oliver Spryn
Better Programming
Published in
4 min readSep 24, 2021

A black mechanical keyboard sitting on a marble surface

For whatever reason, my brain is averse to keyboard shortcuts. I cannot seem to master anything beyond the basics of cut, copy, paste, and select all. That being said, I am hopelessly inept to begin conquering vi and vim.

Yet, despite this mental blockade, I know that there are a few shortcuts that I would be shooting myself in the foot if I didn’t take the time to learn. So, after much trial-and-error, here are the eight shortcuts I would recommend anyone using JetBrain’s suite of IDEs take time to learn.

Bear in mind that these shortcuts use these keymappings:

  • Windows uses the Windows mapping
  • Mac uses the IntelliJ IDEA Classic mapping

Duplicate Line or Selection: Ctrl + D, ⌘ + D

Eliminate copying and pasting lines of code to make only minor changes. This command will duplicate the existing line or the highlighted selection.

Extend Selection: Ctrl + W, ⌘+ W

This operation is perfect for whenever you don’t want to use your mouse to highlight a code block. Pressing this key combination will start selecting the current…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Oliver Spryn
Oliver Spryn

Written by Oliver Spryn

Lead Android Architect at UPMC Enterprises • Instructor • Content Creator • https://oliverspryn.com/

Write a response