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/

ramsey, to php
@ramsey@phpc.social avatar

Is there an annotation I can add to a class stub that will tell that a readonly property is most certainly set in the constructor, so that PhpStorm quits complaining that “Typed property ‘foobar’ might be uninitialized?”

outofcontrol, to random
@outofcontrol@phpc.social avatar

Took time today to start learning some of the 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.

michabbb, to ai German
@michabbb@vivaldi.net avatar

2023.2 Is Now Available !!

spoiler... it now has its own 😉

holy sh.... so much cool new stuff 😍 🚀 😎 😳

https://blog.jetbrains.com/phpstorm/2023/08/phpstorm-2023-2-is-now-available/

image/png
image/png
image/png

Skoop, to random
@Skoop@phpc.social avatar

The new UI so far is mostly confusing. Perhaps it takes some time to get used to, but it also behaves weirdly (or buggy)

dgoosens, to php
@dgoosens@phpc.social avatar

In last weeks episode of
@phpugly (best ),
@john reminded us about
Help > Productivity in

Excellent feature!

Wondering if there is a way to get stats about shortcut keys usage

and about the features that are often used but not through shortcuts

dgoosens, to php
@dgoosens@phpc.social avatar

Remember you can make @Xdebug breakpoints conditional in

saves a lot of time...
and avoids leaving dirty if statements in your code

dgoosens, (edited )
@dgoosens@phpc.social avatar

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)

#brilliant !
#php #phpstorm

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