![]() These shortcuts move whatever line of code the cursor is on up or down a single line. Windows: Alt + Shift + Up and Alt + Shift + Down.Just navigate to PhpStorm > Preferences > IDE Settings > Editor > Maximum number of contents to keep in clipboard to up that limit to something more respectable. I believe the default history limit is set to 5, which is weak. This keeps a running log of things you’ve copied within PhpStorm and you can use it pretty much anywhere within PhpStorm, including the find / replace fields, extracting variables, extracting methods, renaming, etc. A crazy amount of search power for such a little window.Īnd if you have anything selected, that will automatically become the search term. You can refine scope to a particular folder, do a reclusive search, match case, regex, etc. You can even create nested files and directories with the same command.įind In Path will search your entire project for just about anything. ![]() ![]() Use the New command when you have a folder selected in the project window and you can insert / create a new files and folders. No context switching, no fumbling for the right window. Mash ⌥F12 and you're there, ready to rock a command. This is incredibly handy, especially when you're using tools like NPM, Grunt, Gulp, Composer, etc. Yes, PhpStorm has a fully functional Terminal baked right into it. Use this wherever you see a yellow or red squiggly line underneath something. Show Intention Actions is for anything from fixing typos / spelling, to fixing incorrect parameters, to automatically updating your PHPDoc if you change parameters, and much, much more. This is a super fancy name for "fix problems". Not only that, but it will automatically refactor all places these things are within the entire project. This even works for some more obscure languages you wouldn't expect, like Less / Sass, Mustache, and PHPDoc, to name a few. Using this, you can rename practically anything, such as variables, functions, filenames, class names, html tags, etc. Navigate File also support searching for files with wildcards, title case, file extension, etc. Navigate File is just a fancy name to mean "open files". This is helpful for discovering shortcuts you don’t already know or for jogging your memory by typing in a keyword or phrase. things you can do that don’t even have keyboard shortcuts). You can use it to search for shortcuts and IDE actions (aka. To reveal the Tool Windows on the sides and bottom of IDE, just double press / tap the command keys.įind Action is like the super keyboard shortcut. Starting in PhpStorm 7, I believe, JetBrains decided to hide the Tool Windows, by default, to declutter the UI. Windows: Alt + Alt (Double Press / Tap and Hold).With All that out of the way, below are the default keyboard shortcuts that ship with PhpStorm. Below are the keyboard symbols used in the rest of the article so we know what they mean. Just so we’re all speaking the same language. Not to mention everything below comes baked into PhpStorm and works consistently, without having to scour the internet to find these plugins or worry about their ongoing support.Īll the shortcuts will work for multiple languages such as PHP, JavaScript, Sass, Less, HTML, etc. I know that most text editors do have a wealth of plugins that offer some of the same functionality below, but in my experience, the implementation and execution of those plugins usually do not match in quality to what PhpStorm offers out of the box. PhpStorm is a powerhouse packed with productivity boosting features, that once you use them, you will never be able to use a standard text editor again. Some developers will pass over PhpStorm (or other JetBrains products) because it doesn’t embody the same look and feel of a typical Mac application, which is unfortunate. Michael Novotny Timesaving Phpstorm Keyboard & Mouse Shortcuts to Increase Productivity January 8, 2015
0 Comments
Leave a Reply. |