Over the past year I’ve transitioned myself from using Sublime Text to using PHPStorm as my IDE at work and at home.
Before Sublime Text, I used Eclipse PDT, which is the PHP version of the popular Eclipse IDE. I was perfectly happy with all the IDE bells and whistles that came with it, but eventually, I realized how slow and finicky the IDE had gotten, and I decided I needed to transition to a new one.
Sublime Text was the pretty popular choice at the time, and using it was like a breath of fresh air. No longer do I have to wait an insane amount of time before I can even start to edit my code or have to suffer through light-hearted ridicule from my colleagues for using an outdated IDE. Sublime Text at the time was everybody’s choice due to it’s speed, flexibility, modularity and fame.
I used Sublime Text for most of my time working at Bright and for a while it served as a pretty awesome “IDE”. Slowly though, I started missing the features I used to enjoy with a full-featured IDE. Things like PHPUnit integration, a terminal that’s built-in, XDebug integration, documentation hints, and code analysis that told me if I had syntax issues in my code. The biggest one though, was the ability to click-through classes and methods to go to them. These are things that simply cannot be done in Sublime Text, since it requires a PHP runtime that continually analyzes your code to link these things together.
I’m an avid fan of Jeffrey Way’s Laracasts, and coincidentally, he came out with a PHPStorm series (if you haven’t yet, you should definitely sign up! It’s not just about Laravel). I watched it, and immediately felt like I was meeting an old friend, Eclipse PDT. Almost everything I loved about Eclipse PDT was here, and none of the issues I had before (granted, my workstation was better so that might have been it). I watched the whole series with earnest, and made sure to learn all of the shortcuts and features I used to utilize in Eclipse, as well as any new things that PHPStorm had to offer, like built-in Composer support. It was definitely helpful that Jeffrey Way is one of the best teachers I’ve ever had the pleasure of learning from – he definitely has a knack for teaching complicated things. One other thing that was definitely helpful in my road to PHPStorm mastery was this plugin called Key Promoter, which will “pester” you with an annoyingly helpful notification that tells you the shortcut as well as the number of times you’ve ignored to use it whenever you use the mouse to do something if a keyboard shortcut is available.
Some of my co-workers swear by vim, and some still use Sublime Text. I introduced them to PHPStorm, but it doesn’t really work for them, and that’s totally fine. You should always strive to find tools that complement your working-style, but that doesn’t mean you shouldn’t try out new things as well. Who knows, you might just discover something new that works pretty well with your style, like I did with Sublime Text, or even rediscover something you already know works, like I did with PHPStorm. Always keep in mind that these are only tools – they’re meant to help you with your work and not hinder you from getting shit done.