

There is no lack of searching options in PHPStorm.

Cmd + Click will do both of these for you. There are probably several times a day when you want to find a function definition or you may want to know where a function is being used. You can simply right-click on the function and select either ‘Search with Google’ or ‘Search on .’ Perhaps there is a WordPress function being used in your theme or plugin and you need to read the details about it. I know we are getting into back-end developer territory here, but there are times when you might want to see where a WordPress hook is being fired. You can tell I have BuddyPress installed! You can even resolve a CSS class definition!Īs seen above, WordPress function completion is provided but PHPStorm goes a step further and provides action and filter completion as well. This is a cool feature I just recently noticed after upgrading to the latest version. Can’t remember the name of a particular escaping function you wan to use? No worries–PHPStorm has you covered.
#Jetbrains webstorm gulp code
WordPress Code Completion PHPStorm not only has great code completion for all different kinds of languages, but it has great code completion features for WordPress. Now that we’ve covered the basics on settings, let’s go over some of the key features that I find super cool and most useful: ThemesĮven though I mention above that I use the Material theme via a plugin, there are a lot of options out there to choose from if you would prefer something different. This plugin is the best attempt at porting the Material theme over to PHPStorm. Material Theme UI: One of the things that attracted me to try Atom was using it with the Material theme. This is AWESOME! Now anytime Sass is not formatted properly, PHPStorm will let me know! Not in alphabetical order! Sass Lint Plugin: With help from Greg, I was recently able to get this plugin configured and working with the custom sass-lint.yml file that wd_s uses. That being said, let’s go over a few plugins I am currently using.ĬSS Alphabetical Rearranger (beta): At WDS, we keep all our CSS/Sass in alphabetical order. Although there are quite a few plugins, I think this is one area where PHPStorm falls short to other text editors.

JetBrains has their own official plugins, but they make it possible for other developers to create plugins, too. I know other editors have plugins that will do this, but PHPStorm has it built right in: I really like to be able to preview what a hex color is going to look like. PHPStorm has WordPress specific PHP code styles built in that are set right from the WordPress PHP coding standards.
#Jetbrains webstorm gulp install
You basically tell it where your WordPress install is and it will index all the files as well as provide some other really great features such as code completion. Starting with version eight, PHPStorm started to support a WordPress specific project type. I’ll also cover things such as plugins and themes as well. All you really need to know is that virtually everything can be customized. In this section, I will share some of the basic settings I use for each project. I’ve been using it for a solid year or so and I’m constantly finding out about new features. Saying that PHPStorm is feature rich is a bit of an understatement. Hopefully, I’ll be able to do just that!Īlso, if you are a back-end developer, there’s a good chance you still might learn something new as well! Perhaps you are one of those who is on the fence about giving it a try and just need a little convincing. In this post, I want to share some of the key features I like about using PHPStorm from a front-end WordPress developer’s perspective. SHOCKING, I know! Making a Case for PHPStorm On the IDE side of things, there is Coda and PHPStorm by JetBrains. It seems that most front-end developers steer clear from IDEs and lean more towards the more ‘lightweight’ code editors that have plugins for just about anything imaginable.Īs for me, I seem to be a bit of an anomaly, because I am a front-ender who has only ever used PHPStorm! As a disclaimer: Late last year I tried to make the switch to Atom, but that experiment only lasted a few days. It tends to be a very personal choice.Ī few popular editors in use these days are Sublime Text and Atom. As a developer, front-end or back-end, there is no lack of strong opinions on why or why not developers choose their text editor or IDE.
