![]() Added bonus – if your implementation class doesn’t have a test class, Ctrl + Shift + T will automatically create one for you using your default testing framework. ![]() Jumping between implementation and testing classes is a breeze with this handy key combination. Simply press Ctrl + G and go directly to the line in question. When a coworker yells across the room “Check line 732!” you don’t need to go on a scrolling marathon. Want to open a recent file? Pressing Ctrl + E will let you navigate the list of recent files and pick the one you wish to open in a tab. Now, you can also switch quickly and easily between open files in the same way with Ctrl + Tab. Switch between tabs – Ctrl + TabĮveryone knows how useful the Alt + Tab key combination is, especially when switching between, let’s say, Google (or your social media account) and the IDE. Simply press Ctrl + Shift + Backspace and you’ll be taken to the last edit location in the file. “Wait, so where was I typing last?” will never be a question you ask yourself when going back to work after lunch. Navigate to last edit location – Ctrl + Shift + Backspace Need the implementation section instead? Press Ctrl + Alt + B to jump to the method implementation. ![]() When you need to find the declaration of a method, all you need to do is select the method and press Ctrl+B on your keyboard. Go to declaration / implementation – Ctrl + B / Ctrl + Alt + B It’s actually more effective than using a mouse and guess what? No leaning on the up and down keys is involved! 1. One of the main challenges in “quitting the mouse” with Intellij IDEA is learning to navigate between files, tabs and sections of code using keyboard shortcuts. I am not saying that you need to mesmerize the full IntelliJ IDEA default keymap sheet, though you might want to print the page applicable to your OS of choice and hang it somewhere you can easily see around your workstation. Grab your favorite caffeinated beverage and enjoy it. Use mouse as minimum as possible and learn these Keyboard shortcuts to improve your productivity. It just reduces your productivity while switching between the Keyboard and mouse.
0 Comments
Leave a Reply. |