So which of the 100+ shortcuts should you memorize? We picked the top 21 in boosting productivity, and sorted them into categories according to use. Note that we used the default OS and Intellij keymap, and the key combinations assume a Windows OS. If you use a Mac or run Linux, you can easily “convert” the shortcuts using the official Intellij IDEA keymap sheet. 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. 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!ġ. 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. Navigate to last edit location – Ctrl + Shift + Backspace Need the implementation section instead? Press Ctrl + Alt + B to jump to the method implementation.Ģ. “Wait, so where was I typing last?” will never be a question you ask yourself when going back to work after lunch. Simply press Ctrl + Shift + Backspace and you’ll be taken to the last edit location in the file.Į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. Now, you can also switch quickly and easily between open files in the same way with Ctrl + Tab. 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. When a coworker yells across the room “Check line 732!” you don’t need to go on a scrolling marathon. Simply press Ctrl + G and go directly to the line in question. Jumping between implementation and testing classes is a breeze with this handy key combination. RUBYMINE KEYBOARD SHORTCUTS CODEįortunately, there are several search functions (with keyboard shortcuts) in Intellij IDEA to help you locate the code segments, classes, methods or other resources you’re looking for as quickly as possible.Īdded 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.įinding what you need in thousands of lines of code across multiple documents is no easy task when done manually and is a bit like finding a needle in a haystack of code. Look for anything anywhere with this handy double-press. Using TAB switches the resulting cluster, left arrow key will show history, right arrow key will move forward, and the most recent files are shown by default. Looking for something classy? To find the class you seek simply press Ctrl + N and type the name. (if.else, try.catch, for, synchronized, etc.You don’t even need to write the full name, and you can use asterisks (*) as wildcards. (Getters, Setters, Constructors, hashCode/equals, toString) Show descriptions of error or warning at caret Parameter info (within method call arguments) Smart code completion (filters the list of methods and variables by expected type) Choose Import IntelliJ Keybindngs (XML)īasic code completion (the name of any class, method or variable).Open command pallet Ctrl- Shift- P (Windows) or Cmd- Shift- P (macOS).Includes keymaps for popular JetBrains products like IntelliJ Ultimate, WebStorm, P圜harm, PHP Storm, etc. Port of IntelliJ IDEA key bindings for VS Code. IntelliJ IDEA Key Bindings for Visual Studio Code
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |