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

ramsey, to random
@ramsey@phpc.social avatar

I do not like the new beta terminal in the #JetBrains IDEs (i.e., #PhpStorm, etc.). It doesn’t seem to respect my Zsh configuration, and it’s slow.

michael, (edited ) to php
@michael@thms.uk avatar

I've just updated to 2024.1 among others because I'm excited for the new terminal.

You are supposed to be able to enable this at Settings | Tools | Terminal | Enable New Terminal, but I don't have that setting.

Am I missing something?

[Edit: Turns out this is for the new UI only]

ramsey, to random
@ramsey@phpc.social avatar

Switching back-and-forth between #CLion and #PhpStorm for the same project (so I can use intellisense and syntax highlighting on .php and .phpt files) is a pain in the ass, and for some reason, it corrupts the .idea folder, so I have to keep deleting it and letting the IDEs recreate it. #JetBrains

Crell, to php
@Crell@phpc.social avatar

Proposal for a conference talk: How to configure and all its tooling extensions (xdebug, phpstan, php-cs-fixer, etc.) to use a docker container consistently.

That could easily fill a tutorial...

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

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

saw a colleague of mine coding #PHP on VsCode today

so yeah, once you have spent a couple of hours searching and installing plugins (hardest part being to find the good one) it works, kinda...

but it remains a shiny text editor IMHO
definitely missing the power of a real IDE and there is like NO BLOODY WAY I'm leaving #PhpStorm for that

granted, launching a project or building an index takes a little time
but it is by far compensated by the productivity it offers

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?”

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.

Crell, to ai
@Crell@phpc.social avatar

I reached out to #JetBrains about their #AI #LLM code assistant.

They verified:

  1. They use #OpenAI, which means my GitHub OSS has almost certainly been used in training data.
  2. They rely on OpenAI's promise to not ingest any code that is used for "context".
  3. They specifically do not disclaim that their tool could result in me violating someone else's copyright, and they could suggest the same code to someone else, too.

Uninstall this crap, now. It's dangerous and irresponsible

#PHPStorm

thomastospace, to random
@thomastospace@phpc.social avatar

Are there any developers who have nailed using the Windows keymap for on Mac?

I'm used to Windows, but my work laptop is a Mac. I'm using the XWin keymap which fixes some things, but of course all the shortcut hints are still in 'Mac language', so I have no clue what to type when I look one up.

It's just pain.

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)

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

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

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

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.

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.

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.

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

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?) 🤔

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!

phphil, to random
@phphil@phpc.social avatar

I've upgraded and now all DQL strings have this horrific background color.

Anyone know which setting to tweak? I couldn't find it yet, so I had to disable the bundled DQL plugin for now...

Schrank, to random German
@Schrank@phpc.social avatar

Does #phpstorm has a setting to warn me before moving a file? Sometimes it does, sometimes it doesn't and normally I don't want to move files around 🤔

ramsey, to random
@ramsey@phpc.social avatar

When running tests “with Coverage” in any #JetBrains IDE, where does it store the coverage files?

My project is running in containers with docker compose, and this is all set up properly. In fact, the tests run, and presumably, the coverage report is generated, but the IDE doesn’t show the coverage, and I think it’s because it must be storing the coverage report on the container somewhere, and the IDE can’t access it when trying to display the lines covered.

#PhpStorm

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