Setting up #PHPStorm to handle #PHPStan / #Larastan, Laravel Pint, Code Sniffer and CS_Fixer (not sure if this is needed with Laravel Pint). What is the best way to set this up so I don't have to set this up for every project? Tried to point to a globally installed version of each but wasn't able to easily do this.
Suggestions or a pointer to a tutorial would be fabuluous!
hey #phpstorm #webstorm #ddev #docker users, please vote for "CSS class auto-completion for Tailwind does not work when using a remote Node.js interpreter (Docker/ssh)" 😭 🤓 #tailwind https://youtrack.jetbrains.com/issue/WEB-53172/CSS-class-auto-completion-for-Tailwind-does-not-work-when-using-a-remote-Node.js-interpreter-Docker-ssh
#phpstorm #webstorm #ddev #docker #tailwind
I just got my entire team hooked on #PHPStorm and I'm really excited. I usually go for open source and/or free tools, but it seriously can't be beat (oh, I've tried).
Anyone out there working with #PhpStorm + #ddev + #tailwind?
Can't get autocomplete to work (Already installed ddev-integration https://plugins.jetbrains.com/plugin/18813-ddev-integration and nodejs settings are handled by this plugin already, seems correct / fine)
But I don't get these suggestions:
https://www.jetbrains.com/help/phpstorm/tailwind-css.html#ws_css_tailwind_complete_classes Thx! 👋
PhpStorm live templates to automate the boring things. #PHPstorm #PHP https://mglaman.dev/blog/phpstorm-live-templates-automate-boring-things
PhpStorm live templates to automate the boring things #drupal #phpstorm https://mglaman.dev/blog/phpstorm-live-templates-automate-boring-things?utm_campaign=blog&utm_source=fediverse&utm_medium=social&utm_content=toot
#PhpStorm 2023.2.1 is now available with ton of fixes....
https://blog.jetbrains.com/phpstorm/2023/08/phpstorm-2023-2-1-is-released/
Does anyone using #PHPStorm or any of the #JetBrains editors know if you can stop this *absolutely crazy* code folding line-wrap behaviour?
I fold code to get it out of the way, and yet this is the only editor I've seen that then *moves the indentation of the block to become out-dented, and also spams the entire line with highlight and text*. It's awful.
SUCCESS!!! Circle filter for me on my video! :D I thought i'd make quick video about the new AI in #PHPStorm but turns out it just added me to a mailing list. Maybe another week soon!
Now what was I supposed to be doing? Oh yeah. Updating another website to Drupal 10.
It sure would be nice if #PhpStorm could be configured to just use the closest phpunit.xml file.
Unless I'm doing something massively wrong, having multiple test roots is a giant pain in the ass.
I'm doing some #php/#laravel development on #twitch tonight. I'll be live at 9 PM Eastern (depending on kids' bedtime speed). I'm going to set up a remote development environment for #phpstorm using a @digitalocean@twitter.com droplet. I tried earlier this week and ran into some problems. https://www.twitch.tv/scottkeckwarren
Took time today to start learning some of the #PHPStorm #Git tools. Typically I would have a terminal open in PHPStorm and do all that from the `cli`. Using PHPStorm, I was able to cleanup merge conflicts faster with more confidence, create better merge messages, and was sort of forced to fix some code analysis issues I was ignoring for awhile. Con: no aicommits… or is there? Though, using aicommits is probably a massive con in itself, not debating that one here, yet.
The new #phpstorm UI so far is mostly confusing. Perhaps it takes some time to get used to, but it also behaves weirdly (or buggy)
one of my personal favorites
is an automatic breakpoint whenever an exception is thrown
this is easy as pie with @Xdebug
Simply add a "PHP Exception Breakpoint" that will suspend as soon as an Exception is hit
Once more, one can add conditions, for instance, the Exception's type or subtype
(@derickr just pointed out to me it does an `instance_of` check)
and there is more !!
click on "More"
and you will be able to:
- add additional logging info
- add statements that you want to evaluate when hitting the breakpoint
- only trigger the breakpoint if another breakpoint was hit
- make sure the breakpoint is only triggered once
@Xdebug rocks !