Crell, to ai
@Crell@phpc.social avatar

I reached out to about their code assistant.

They verified:

  1. They use , 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

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

shochdoerfer,
@shochdoerfer@phpc.social avatar

@Crell Thanks to and the DDEV plugin for , it's not that hard...

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

#PHP #IDE #SoftwareDevelopment #Copilot

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.

michael,
@michael@thms.uk avatar

@Sdfendor

This is happening so so much these days. It’s really getting beyond annoying. Today I had to actually quit phpstorm twice, because it was stuck in a false negative state.

I wish they’d just spend some time improving/fixing this, instead of inventing ‘new terminals’, AI, or whatever else

ramsey, to random
@ramsey@phpc.social avatar

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

dgoosens, to random
@dgoosens@phpc.social avatar

so
discovered that if you're using advanced features in , you might want to make sure you are no longer using docker-compose (you should be using docker compose instead)

piece of cake to deal with this...

change the path to your docker compose executable (see screenshot) and you're all set

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

Zwei Features klingen sehr spannend:

  • GitHub In-Editor Reviewing. Vielleicht erleichtert mir das die Crappyness des GitHub UIs?
  • Sticky Lines um beim scrollen den Methoden/Funktionskopf als feststehende Zeile hat, die beim wegscrollen dann die nächste Methode zeigt.

Vom neuen Terminal muss ich mich überzeugen lassen (nutze iTerm). Und "Full Line AI" stehe ich eh skeptisch gegenüber. Bugs schaff ich auch ohne AI einzubauen. ;-)

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

I've just updated to #PhpStorm 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]

#php

michaelwitwicki, to random
@michaelwitwicki@phpc.social avatar

I like the idea behind the new sticky lines feature that released for - but I wish I could toggle which types of information I want sticking.

Having the namespace sticking is just sort of eating up a usable line for me.

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

Jetzt, wo ich Ausführung von phpstan, cs-fixer und codesniffer in auch aktiviert habe scheint die Integration manchmal "abzustürzen". Dann werden Fehler einfach nicht mehr angezeigt, auch wenn ich das Projekt schliesse und wieder öffne. Nur PHPStorm Neustart hilft. Nutze lokales PHP Binary und lokales Filesystem (kein Docker). Kann ich das in PHPStorm irgendwo einsehen, ob/wo da ein Prozess hängt?

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.

oliklee, to php German
@oliklee@chaos.social avatar

Die -Beispielextension zum mit und die -Live-Templates von meiner Session auf dem sind hier zu finden: https://github.com/FriendsOfTYPO3/tea/ https://github.com/oliverklee/tdd-reader/tree/main/Resources/PhpStorm

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

thopan, to linux German
@thopan@norden.social avatar

Welchen mit nutzt ihr unter , um , , , zu erstellen/bearbeiten?

Gerne teilen, danke euch.

andreas,
@andreas@karlsruhe-social.de avatar
kenguest, to random
@kenguest@phpc.social avatar

Has anyone else been getting this error message about after it got moved to the larastan organization?

Have to admit I fixed it by creating a symlink, but that seems inelegant.

PHPStan phpstan: File '/opt/project/./vendor/nunomaduro/larastan/extension.neon' is missing or is not readable."

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

2023.3.4 is now available

it´s a minor update and it includes a host of bug fixes and quality-of-life improvements.

Here are the most notable changes and bug fixes in this build:

Fix: Setting Sync sync failed. couldn't get settings from server: Authentication required [IDEA-343073]
Fix: Redshift: Unable to see external Datashare databases in Database Explorer [DBE-18822]
The full list of changes in PhpStorm 2023.3.4 is available in the release notes.

https://youtrack.jetbrains.com/articles/WI-A-231736100

ramsey, to random
@ramsey@phpc.social avatar

“Please complete this survey on a laptop or desktop. Some questions may not function properly on mobile devices.”

That’s a good way to ensure I don’t take your survey, since I’m probably only going to take it when I’m staring at my phone, trying to kill time somewhere.

ramsey,
@ramsey@phpc.social avatar

@sashag The thing is, this is a survey for , a tool I love and wouldn’t mind taking a survey for, but I’m traveling right now, and will probably not schedule time to remember to take it later.

kgaut, to random French
@kgaut@oisaur.com avatar

Si le terminal intégré aux logiciels de JetBrains ( ) dans les dernières EAP 2024.1 vous sort par les yeux, il est heureusement possible maintenant de revenir au terminal natif : https://kgaut.net/blog/2024/phpstorm-webstorm-desactiver-le-nouveau-terminal.html

awoodsnet, to keyboard
@awoodsnet@phpc.social avatar

User Experience idea: have ZSA and JetBrains work together. When customizing my Moonlander Layout, I want to assign the icons in PhpStorm to my keymaps. e.g. the stop listening to Debug connection would be assigninable to a Moonlander key.

denniskoch, to til German
@denniskoch@phpc.social avatar

When working with PestPHP I was always annoyed that PhpStorm didn't simplify the imported namespace and didn't offer to simplify the FQN of Facades.

First one is a setting:
Editor > General > Auto Import > PHP > Enable auto-import in file scope

Second one can be fixed, by disabling all aliases in a Laravel app by setting 'aliases' =&gt; [] in config/app.php.

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