![]() In the case on the screenshot above, PhpStorm offers two options: Add a PHPDoc specification to the function (which is a very good advice, stay tuned), and remove an unused parameter. Isn’t it better to just push Ctrl+E and then Enter?Ĭtrl+E will show you a list of recently used files, and if you immediately push Enter, you’ll be switched to the file used just before the current one. Many developers would switch from the keyboard to the mouse, navigate to a tab with the file, click it, and find the needed part with a scroll wheel. between a PHP class with business logic of your app and a template, which is used to render and output it. ![]() Imagine that you need to frequently switch between two files, e.g. Some of these are self explanatory, others could use a little more coverage. Ctrl + Shift + Enter - complete statement. ![]() Alt + Enter - show intention actions and quick-fixes.Ctrl + / - comment/uncomment a block of code.Ctrl+ E - toggle between recently used files.Start learning this immediately, until you can do it in your sleep. Jetbrains provides a handy PDF with all available shortcuts listed in its official documentation, and furthermore has a list of ‘Keyboard Shortcuts You Cannot Miss Review your statistics, and use the knowledge wisely. It also tells me which features I’m not using very often, identifying places where I can improve my shortcut skills. You can do it as well by navigating to the View menu and unchecking all the marks (you may want to leave the ‘Status Bar’):Īs you can see, shortcuts saved me from typing more than 20,000 additional characters (over the course of six months) and prevented about 1,000 bugs. When I was studying shortcuts, I turned off all menus, tabs, navigation bars, etc. The fastest way to learn is to not give yourself an alternative to keyboard shortcuts. Train Yourself To Use PhpStorm’s Shortcuts My recommendation? Engage in a race as a morning warm-up each day. There are also competitive typing websites, such as, where you can compete with other people in typing. If you’re not already typing at least 50 words per minute (WPM), find a touch typing training website such as, and increase your speed. While typing isn’t connected directly to IDE skills, shortcuts are useless if you need to stare at your keyboard to find every single key. There’s a reason for that: It’s much more efficient. If you compare a seasoned programmer and an ordinary PC user, the first thing you’ll notice is that the programmer spends nearly all of her time using a keyboard and hardly ever touches the mouse. Let’s start with the simplest and maybe the most important skill for any IDE: proper keyboard usage. This article covers the popular, robust IntelliJ IDEA IDE PhpStorm, and how, with a little effort, you can easily double your efficiency and even prevent bugs while you code. You need to be able to work properly with version control systems, continuous integration tools, virtual machine management services (like Vagrant) and, obviously, your integrated development environment (IDE). Second, but no less important, is working knowledge of the supplemental tools you use everyday in your workflow. If you are a LAMP developer, you undoubtedly need to be an expert in PHP and MySQL, know modern frameworks, and have some decent skills in Linux administration. The PhpStorm version control system integration lets you carry out routine tasks directly in the IDE, and is fully compatible with remote installation, database, composing, and many other tools.What does it mean to be a good software developer?įirst, it requires deep knowledge of the particular tech stack you’re working in. With Smarty and Twig template editing, you can see the highlighted syntax errors and automatically insert paired keys, feeds, and closing tags, among other features. ![]() Like this, you can write clean, error-free code that is very easy to maintain. You can take control of your base code with PhpStorm, thanks to the hundreds of inspections that are in charge of checking the code while you write it, analyzing your project as a whole. Its duplicate code detection system will make your life easier, and the refactorings will let you change names, introduce variables, constants, and fields or move fixed members around comfortably. It also provides codifying style support and PHPDoc, Code Sniffer, or PHAR support. What's more, it's perfectly compatible with other frameworks such as Symfony, Laravel, Drupal, WordPress, Zend Framework, and Magento, among many others.Īmong its main features are code autocompletion, variable names, or PHP keywords. This tool has many features that will make your life easier. PhpStorm is a very comprehensive integrated development environment that provides an editor for PHP, HTML, and JavaScript with real-time code analysis, error prevention, and automatic refactorings for Java and PHP code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |