svenluijten, to til

about the "Go to Test" action in . 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.

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?

ramsey, to random
@ramsey@phpc.social avatar

Did recently change the way it connects to 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 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?

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. 🤷‍♂️

dandb, to php
@dandb@mas.to avatar

Updated to 2023.2.2 and everything seems good so far.

mandrasch, to php
@mandrasch@social.tchncs.de avatar

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 : 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
@mandrasch@social.tchncs.de avatar

How do you share auto-code-formatting rules with team members in ? (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 . A copy of each console is saved under Scratches and Consolers -> Laravel Tinker Consoles.

outofcontrol, to php
@outofcontrol@phpc.social avatar

Today marks the first time looking at . Used 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 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 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/

outofcontrol, to random
@outofcontrol@phpc.social avatar

Setting up to handle / , 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 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 projects?

outofcontrol,
@outofcontrol@phpc.social avatar

Perhaps answered my own question. There is a plugin for . 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 have any tools to help with resolving merge/rebase conflicts? I’m not finding anything, but maybe I’m searching for the wrong terms.

mattwilcox, to random
@mattwilcox@mstdn.social avatar

Does anyone using or any of the 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 for and two of the are here

image/jpeg

joschuba, to php

Do you want to write in and run it directly in ? 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

2023.2 released!

joschuba, to Laravel

2023.2 is here. And it comes with so many really nice new features. Used the preview version of it. You now have native support for Pint, an Assistant whose integration is nice, many little UI improvements and so much more. Time to update – or to try it out. Read more about all the new features here: https://blog.jetbrains.com/phpstorm/2023/08/phpstorm-2023-2-is-now-available/

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