Many times, you need a different coding standard than the one specified by WordPress. Maybe your team and you use a modified version of the WPCS. Or maybe you are developing a project that uses PSR. PhpStorm lets you configure and save different coding standards, giving you the ability to set it up once and then select the one you need on each project.
Labs
Labs are hands-on coding projects that you build along with Tonya as she explains the code, concepts, and thought processes behind it. You can use the labs to further your code knowledge or to use right in your projects. Each lab ties into the Docx to ensure you have the information you need.
Each lab is designed to further your understanding and mastery of code. You learn more about how to think about its construction, quality, maintainability, programmatic and logical thought, and problem-solving. While you may be building a specific thing, Tonya presents the why of it to make it adaptable far beyond that specific implementation, thereby giving you the means to make it your own, in any context.
WordPress Coding Standard
PhpStorm allows you to configure a coding standard. Using that standard, you can reformat an entire file to compile the standard…with just one keystroke. It saves you so much time, allowing you to do your work, trigger the reformatter, and bam, you’re done. Let’s configure and test that together.
Split-Screen Coding Windows
I often use split-screen coding windows in my workflow. Split-screen windows let you compare code. Instead of flipping back and forth between files as well as looking at different sections in the file. How do I do it? I use split screen all time. As I’m writing code, I’m also writing the tests to validate the code. I have my source code file open on the right and the tests I’m writing open on left. Then I use my other monitor for documentation lookups and a full screen of my command line tool where I’m running the tests. In this […]
Be Faster with Keymappings
Hands on the keyboard and not on the mouse or touchpad. Using a mouse or touchpad requires little bits of time for you to search for the next command. Throughout the day, those little bits of time add up, costing you money. A better workflow is to keep your hands on the keyboard by setting up shortcuts with keymappings. Guess what? PhpStorm lets you fully configure the keymappings you want. Let me show you. Here is a link to the PhpStorm Default Keymap Reference PDF for Windows, Linux, and Mac.
Setup the Sandbox Site
We need code to work with in this lab, in order to tune our editor workflow. Let’s do that in this episode.
Tune the Look
You work in the editor all day long. You might as well take the time to pick the look and style you want to give you a pleasing work environment. The look of your work environment matters. A proper color combination, font size, and font type help to keep you working and motivated. Eye fatigue is a real thing. And the wrong environment can make you bored and tired. In this episode, we’ll walk through how to customize the entire look of PhpStorm. We’ll install a theme and then walk through the individual settings, allowing you to tune the look […]
Why You Need PhpStorm
Why? What will PhpStorm do for you? Productivity. It increases your productivity, allowing you to focus on where you add value. It lets you automate tasks in your workflow. It’s fully integrated right out-of-the-box. Let’s talk about what you get.
Tune PhpStorm for WordPress Development
As a professional developer, you spent an incredible amount of time in your editor. You want a tool that supports the way you work, makes you better and faster. You want that tool to demand very little of your valuable time. And you want it to give you a delightful experience. Meet PhpStorm. This is a serious tool for professional developers, like you. Right out-of-the-box, without plugins or complicated setups, PhpStorm is ready for your projects and you. Let’s take a little to get familiar with this invaluable tool and tune it specifically for your local WordPress development environment and[…]
Quick Navigation Shortcuts
We often move around in the filesystem, changing directories, and typing long lines of commands. We can alias those commands and navigation to give ourselves shortcuts. How? We define them in our .bash_profile file. Let’s do that in this episode.
VirtualBox and Vagrant
Recorded: February 25, 2018 We want to run a localhost web server on our Mac in order to simulate a real world web server. That means we want to run it in a virtual environment and container, separate from our computer. In this episode, you will install VirtualBox, Vagrant, and 3 Vagrant plugins. Click here to get the link to all of these dependencies.