


#Phpstorm keyboard shortcuts windows code
Selecting code sections with a mouse is a drag. Expand / shrink selection – Ctrl + W / Ctrl + Shift + W These shortcuts will help eliminate those so every one of your keystrokes counts. Some keystrokes are unnecessary and repetitive. Those important keystrokes of genius that make the words in the IDE turn into working applications. EditingĪs a coder, what you usually do is write and edit code. Show usages – Ctrl + Alt + F7Įver looked at a component in the code and ask yourself “Wait, what does this do?” before going on a long quest to answer that question? Never again! Ctrl + Alt + F7 shows all usages of the current method, class or variable in a popup where you can easily navigate between locations where it was used. When you’re not looking for classes but rather for text or configuration files, Ctrl + Shift + N will do just in a fashion similar to that for finding classes.
#Phpstorm keyboard shortcuts windows full
You don’t even need to write the full name, and you can use asterisks (*) as wildcards. Looking for something classy? To find the class you seek simply press Ctrl + N and type the name. 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.

Look for anything anywhere with this handy double-press. Fortunately, 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.

Searchingį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. 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.
