tjventurini, to random
@tjventurini@mastodon.social avatar

VS Code or PHPStorm? 🤔

outofcontrol,
@outofcontrol@phpc.social avatar

@tjventurini Depends… PHPStorm for laravel and other framework projects. VS Code for small single file scripts, or small frameworkless projects and testing quick one offs. No reason you can’t use both right?

#phpstorm #vscode #php

theseer, to random
@theseer@phpc.social avatar

Is it just me or is #phpstorm getting worse by the day?

I'm runnig 2024.1 (Build #PS-241.14494.237, built on March 27, 2024) but have to constantly restart the IDE to fix bizarre errors like PHPStorm claiming a property or parameter isn't used while highlighting the very use a line later, inconsistently resolving asserts with instanceof checks - e.g. claiming a method doesn't exist in the class referenced in a different assert and not seeing a parameter that is clearly there... #fail #ensh11n

PHPStorm claiming a parameter is missing that is clearly there..

michael,
@michael@thms.uk avatar

@zf2timo tried that. Still having the same issues 😩 @theseer

blindcoder, to php
@blindcoder@toot.berlin avatar

Just spent TWO HOURS debugging PHP code because I relied on my IDE and github Copilot which both didn't catch the bug in the code below:

<?php
if (array_key_exists("error", $response){
$return_value = [];
}
?>

Error message was: PHP Parse error: syntax error, unexpected token ";" in <file> on line 3

Yes, it's on me, but I'm supposed to test this tech for my employer and results are not looking favorably.

Edit: added proper line number for my example

Sdfendor,
@Sdfendor@chaos.social avatar

@blindcoder If you cut out the code and paste it in again, does anything change? I have problems with myself with the more recent versions, sometimes their (code highlighting, error reporting, warnings, refactorings etc.) seems to get stuck in a certain state, false positives or false negatives are the consequence. So I fix a problem which is underlined red and afterwards the underline stays in.
I as well tinker around with the plugin.

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

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

2023.1.4 released

Notable changes

Custom Code Style settings are accidentally lost (IDEA-318457).
IDE start fails with “CannotActivateException: Address already in use: bind” (IDEA-323836)
File Cache Conflict when using an external formatter

https://blog.jetbrains.com/phpstorm/2023/07/phpstorm-2023-1-4-is-released/

outofcontrol, to Laravel
@outofcontrol@phpc.social avatar

Lara says own Jeffrey Way has just completed his for developers series. Saturday a beer/wine and something to watch https://t.co/sXnoj5ghBl

helmutstrasser, to random

I think it's a pretty good advice to clear caches within now and then. It prevents from a lot of headache, when PHPStorm does not behave as expected once again. File -> Invalidate Caches...
Warning! Re-Indexing of projects might take some time!

helmutstrasser, to random

#PHPStorm is a pretty darn good software, but sometimes I lose my nerve on settings and system notices. Especially #xdebug and the "Debug session was finished without being paused" message took me hours to figure out what is going on. "It may be caused by path mappings misconfiguration" is totally misleading. Most of the time it's simply because a breakpoint has been set for a code never been executed. 😞 🙄

svenluijten, to php

I've published a new blog post (on a new website!) about enabling IntelliSense in for non-standard extensions:

https://svenluijten.com/posts/enable-intellisense-for-php-extensions-in-phpstorm

mattwilcox, to random
@mattwilcox@mstdn.social avatar

Anyone here use and know how to change the appearance of the "Type hint" helpers in this JS code?

I find the : Element and : Date helpers extremely confusing to read and I'd prefer them formatted much more like the blocked out selectors: type helpers.

I can't find any way to change the style of those particular type hints tho.

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

not from me, but i agree:

templates are so powerful and can speed up coding.
https://jetbrains.com/help/phpstorm/using-file-and-code-templates.html
Good job phpstorm
🚀

dgoosens, to php
@dgoosens@phpc.social avatar
outofcontrol, to random
@outofcontrol@phpc.social avatar

Finally got around to trying the new UI for . Happy to say it works well with the Light Lite Colour Scheme, despite warnings suggesting some themes might not work correctly.

More PHPStorm goodies here https://www.youtube.com/watch?v=hTvi67mBhx0

davidbisset, to wordpress
@davidbisset@phpc.social avatar
ramsey, to php
@ramsey@phpc.social avatar

I’m trying to run “Debug” (for step-debugging with ) in while running a test. I do this all the time with standard tests, and I’ve never had this problem…

The test runner stops immediately, and PhpStorm reports in the debug console, “Test framework quit unexpectedly.”

Has anyone else seen this error? Do you know what causes it?

cspray, to javascript
@cspray@phpc.social avatar

Writing code in . Need to write strings that look like:

'some-value-${Placeholder}'

But, the editor is automagically converting it to backticks and string interpolation:

some-value-${Placeholder}

I want PHPStorm to NOT do this anymore but I can't find where this would be turned off in the settings.

Get what PHPStorm is trying to do, but I find it incredibly aggravating. I'm using single quotes instead of backticks for a reason.

awoodsnet, to random
@awoodsnet@phpc.social avatar

feature request for PhpStorm: when the break points are muted, please change the background color of the dubug console, and display a message “break points are muted” above the debug console.

I just lost 30 minutes because i couldn’t figure out why Step Debugging wasn’t working. I’m certain that’ll happen again. Please JevBrains - you’re my only hope


ramsey, to random
@ramsey@phpc.social avatar

needs to add little “play” buttons next to each of the TestWith attributes.

Along these same lines, when I have a base test case that uses a data provider defined in child test classes, PhpStorm should be able to figure out that the method in the child is a data provider and add “play” buttons there, as well.

structed, to random

The more I work with @symfony, the more I love it.
Juts built a CLI tool to go with my app to generate stuff and it's a joy!

Needless to say, I am using #PHPStorm - because #JetBrains
IDEs are just the best.

dgoosens, to php
@dgoosens@phpc.social avatar

Annotated has been released...
https://blog.jetbrains.com/phpstorm/2023/04/php-annotated-april-2023

but @pronskiy how about a dark mode on the blog ?

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