dgoosens, to ai
@dgoosens@phpc.social avatar

oh just look how polite the #AI in #PHPStorm is

svenluijten, to til

#TIL about the "Go to Test" action in #phpstorm. In the menu bar:

Navigate > Goto by Reference Actions > Go to Test

You can use it to jump between the file under (unit) test and the test file itself.

#jetbrains #testing #php

shawnhooper, to random
@shawnhooper@fosstodon.org avatar

Looking at the reviews for GitHub CoPilot integration with PHPStorm. Seeing lots of reviews that it pales in comparison to the VSCode plugin.

I won't change IDEs.

So:

  1. Is it worth buying copilot?

  2. is there another AI coding tool that works better with PHPStorm?

#CoPilot #PHPStorm

ramsey, to random
@ramsey@phpc.social avatar

Did #PhpStorm recently change the way it connects to #Xdebug when executing tests from PhpStorm? I’m no longer able to get the debugger panel to work for a project that I’ve never had a problem using Xdebug in.

outofcontrol, to vscode
@outofcontrol@phpc.social avatar

Suddenly VSCode and PHPStorm’s Laravel Tinker stop executing code. CLI still worked fine. After the loss of much hair, I realized I had inadvertently clicked on the itsy bitsy little bug in PHPStorm and had enabled debugging. It was at this point I learned that enabling in also enabled it in !

ramsey, to php
@ramsey@phpc.social avatar

Most of my #PhpStorm projects handle indentation of comment blocks properly, but sometimes, I’ll create a project in which PhpStorm behaves oddly. Like here.

How do I tell PhpStorm to properly indent these comment blocks automatically?

#PHP

video/mp4

ramsey,
@ramsey@phpc.social avatar

Figured it out! Turns out, it’s because I had this setting set to “PHP Code Beautifier and Fixer.” When I set it to “No External Formatter,” it works as expected. 🤷‍♂️ #PhpStorm #PHP

dandb, to php
@dandb@mas.to avatar

Updated to 2023.2.2 and everything seems good so far.

mandrasch, to php

hey friends! Is there a way to mark errors more prominent? I always miss them, because in vscode I had a red underline. 🤓 Thanks very much!

screenshot vs code: missing class craft has a red underline

heiglandreas, to random
@heiglandreas@phpc.social avatar

Hey #phpstorm: You might be faster would you not try to index stuff while running a CLI tool at the same time which creates some cache-data on disc...

Just an idea ;-)

/cc @pronskiy

mandrasch, to php

How do you share #php auto-code-formatting rules with team members in #phpstorm? (and do you use another formatter for it or the built-in one?) 🤔

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Still testing out Tinker Console in #PHPStorm. A copy of each console is saved under Scratches and Consolers -> Laravel Tinker Consoles.

#laravel

outofcontrol, to php
@outofcontrol@phpc.social avatar

Today marks the first time looking at #PHP #Opcode. Used #phpdgb which was already installed. Is there a better/preferred way? Perhaps @derickr PECL extension would be better? For the truly lazy me, I looked for a #PHPStorm plugin to view opcode in the IDE, but nothing came up. Is there such a thing, or CLI is the way to go? Thank you mastodon for surfacing this subject and giving me something to learn. Eons ago I studied 370360 assembler, it all seems vaguely familiar…

sebastix, to random
@sebastix@drupal.community avatar

Just added a live template (for the first time) with a date and time variable in #PHPStorm for my blog items written in Markdown

https://shares.sebastix.dev/9NDdyTUf.png

outofcontrol, to random
@outofcontrol@phpc.social avatar

Whether feel right at home with PHPStorm or are just starting out, Laracasts has a free 18 part series (2h35m) to help you learn how to make PHPStorm do the work for you. Check it out:

https://laracasts.com/series/phpstorm-for-laravel-developers/

#PHPStorm

outofcontrol, to random
@outofcontrol@phpc.social avatar

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!

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Love #Tinkerwell for those that have used it you’ll know why. But… sadly, I find the direction it is going in for my uses is not a good fit. Too many features, and AI… ick. Yeah I know, just don’t use those.

There is also 3v4l Integration from JetBrains, but I can’t help think… why?

I have several PHP versions running locally, why can’t I run test code locally? In VisualCode I used to do this a lot. Perhaps time to just go back to Tinker in my #laravel projects?

outofcontrol,
@outofcontrol@phpc.social avatar

Perhaps answered my own question. There is a #PHPStorm plugin for #Laravel #Tinker. This has the option of running on 3v4l.org or locally. Appears to run locally just fine right from within PHPStorm. Perhaps good enough?

https://plugins.jetbrains.com/plugin/14957-laravel-tinker/

outofcontrol, to random
@outofcontrol@phpc.social avatar

First time listening to the ‘No Compromises’ podcast (not a big podcast person here). As a user, ‘A couple handy features in PHPStorm’ had some nice tips on tools in PHPStorm. At least one I didn’t know existed before.

https://show.nocompromises.io/episodes/a-couple-handy-features-in-phpstorm

PhpStorm live templates to automate the boring things (mglaman.dev)

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...

mglaman, to drupal
@mglaman@phpc.social avatar
ramsey, to php
@ramsey@phpc.social avatar

Does #PhpStorm have any tools to help with resolving merge/rebase conflicts? I’m not finding anything, but maybe I’m searching for the wrong terms. #PHP

mattwilcox, to random
@mattwilcox@mstdn.social avatar

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.

A screenshot of the same code block, but now folded... the line wraps making it only one tab indented... essentially, it becomes out-dented.

wyri, to php
@wyri@haxim.us avatar

At #jetbrains for #AmsterdamPHP and two of the #phpstorm #php #elePHPants are here

image/jpeg

joschuba, to php

Do you want to write #PHP in #PhpStorm and run it directly in #Laravel #Tinker? There’s a plugin for that. Including IDE features such as autocompletion and error inspections. /via & thanks @michabbb https://plugins.jetbrains.com/plugin/14957-laravel-tinker

dandb, to random
@dandb@mas.to avatar

#PhpStorm 2023.2 released!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • ethstaker
  • megavids
  • modclub
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • lostlight
  • All magazines