mglaman.dev – September 1st, 2023
Hey there!
Here's your weekly newsletter from me, Matt Glaman!
Was this forwarded to you? You can subscribe here!
My latest blog post
I had to add a lot of block comments to code I had written to adhere to Drupal's coding standards. I finally spent some time exploring PhpStorm's live templates to help automate the process.
PhpStorm live templates to automate the boring things
I finally took a look at writing a custom live template with PhpStorm. I've used them several times to automate scaffolding a foreach statement or other random suggestions that a Tab keypress leads to automated scaffolded code. But I never really dove in to see how they work or could be customized. Then, I had to fix some of my code to comply with Drupal's coding standards.Drupal requires document comments for all methods, including a short comment.
Interesting links
Everything is a bit light this week, as I'm down in Orlando, FL, with my wife for CookieCon! It's a national cookie art convention and show. My wife runs her own custom cookie shop One Artsy Cookie
I recommend checking out the Sugar Show video and some of the wild creations folks here have made: https://www.cookiecon.net/sugarshow.php?event=2023fl
If you enjoyed this, consider forwarding it to a friend.
Have suggestions or ideas for future blog posts and newsletters? Let me know!