Paul Hennell • Dev

Is a macbook air suitable for running phpstorm? Not sure how well its indexing would work sans fan?
#phpstorm

Alanna

Coding for work in PHP yesterday. JetBrains has recently turned on "Full Line Autocomplete" by default - an LLM that allegedly runs locally on your system. It's normally wrong and annoying, but it autocompleted something wrong in an extremely amusing way that showed no understanding whatsoever of the context of the code. It mistook null safe navigation for a tenary operataor and just started adding : false; on the end of the line.

#enshittification #ai #llm #php #phpstorm

DCoder 🇱🇹❤🇺🇦

Free #Phpstorm improvement idea: an inspection that highlights variables with implicit `mixed` type. Consider: a variable storing the result of an unknown method call, a variable that is undefined and referenced more than once, an untyped object property, and so on.

#PHP

Ben Ramsey

This is pretty funny:

I finally got annoyed enough with an issue in #PhpStorm that I decided to create a ticket for it in their bug tracker.

It turns out there's already a ticket for it, and it links to a GitHub issue that references a Mastodon post that I made over two years ago.

🤣🤣🤣

Issue is here: youtrack.jetbrains.com/issue/W

#PHP

Daniel Neuman

Sitting in PhpStorm and trying to get type hinting to work for calling generic functions.
I assume `$result` should get the type `T` and `$x` should be parsed as `int`, but the editor gives me no hint at all.
Is this even supposed to work?
```
/**
* @template T
* @param callable(): T $fun
* @return T
*/
function call(callable $fun) {
$result = $fun();
return $result;
}

$x = call(fn() => 1);
```
phpstan.org/r/76b4d50f-dd91-4e
#php #phpStorm #generics #phpDoc

Playground

phpstan.org
michabbb

That's how things should work in #phpstorm!

youtu.be/of--3Fq1M3w 👈

What do we have instead in that ecosystem?
Stupid inline code edit and some chatting, wow... 🙄

Compared to that: phpstorm looks like notepad from the 90s 😞

#vscode #ai #coding

- YouTube

Enjoy the videos and music you love, upload original…

www.youtube.com
michabbb

If you're tired of copying code between #phpstorm and #claudeai, just set up #MCP. It takes only 3 minutes, and Claude can then interact with your IDE.

plugins.jetbrains.com/plugin/2

#ai #coding #php #laravel

michabbb

@phpstorm I’m so close to switching to #vscode 😵‍💫

The whole jetbrains plugin ecosystem is a total mess when it comes to #AI. I feel like #JetBrains is the Android of #PHP editors—either there's nothing available, it's super outdated, or if something exists, it's buggy as hell. 😭

- Tabnine: Bugs for months, nothing more than autocomplete and chat.
- Continue: Autocomplete is a total mess (JetBrains version way behind VSCode). Also disables JetBrains' own inline code completion.
- GitHub Copilot: Chat = 💩, but the best in autocomplete.
- AI Assistant: Inline code completions don’t work when Continue is enabled. Chat and inline edits are okay.

There’s no single plugin that does it all—you need four different plugins to get the best of everything, which is crazy!

VSCode plugins are already getting AI agents, while PhpStorm plugins still struggle to make a working inline code completion without issues. That’s insane.

As much as I love #PhpStorm, it feels like
#VSCode is iOS, and PhpStorm is the old, forgotten Android when it comes to plugin development. And that’s just sad.

I never thought this day would come, but maybe it’s time to look at the other side of the coin... 😔

Andrew Woods

Question for PhpStorm users: What are the default patterns you see when you go to:

In the Settings dialog (Сmd+,) , select Editor | TODO.

I see 3:

\btodo\b.*
\bfixme\b.*
\bwtf\b.*

I don't know if I added the WTF item a long time ago, and I just forgot 😂 — OR — if it's one of the default patterns.

I'm hoping that wtf is one of the defaults (because that would be awesome), but please tell the truth.

#PhpStorm #PHP

Dominik

I created an #ActivityPub library for #PHP which uses modern PHP 8.4 features. Each input is fully validated and fully typed, there's support for Signature header validating / generating and some other sweet stuff.

Note that it's currently in alpha, mainly because it's not tested yet and there are most likely many bugs, but tests are coming soon(ish).

Random fact: 3 bug reports for #PhpStorm were created in the process of creating the package.

github.com/RikudouSage/Activit

GitHub - RikudouSage/ActivityPub: A strongly typed, validated and developer-friendly ActivityPub implementation in PHP

A strongly typed, validated and developer-friendly…

GitHub
Habr

MetaStorm – IDE в IDE. Первое большое обновление

Рассмотрим новые фичи и редизайн архитектуры плагина, которые позволили упростить написание конфигов и сделать плагин готовым к масштабированию. Обзор на первую версию плагина можно найти здесь . Изначально плагин покрывал лишь мои нужды с небольшой абстракцией для общего применения, но с того момента много поменялось.

habr.com/ru/articles/872000/

#intellij #intellij_idea_plugin #phpstorm #php #metastorm #development_experience #dx

Habr

Meta Storm Plugin – еще один плагин для PHPStorm

Логично ведь, что если ты пишешь функцию, которая должна принимать значение из набора, то нужно показать этот набор. А может еще и свалидировать ошибку. А еще и провалиться внутрь по CTRL+Click. А еще и обратный референс найти. Ну и рефакторинг общий сделать, раз уж разошлись. Ребята делающие плагины под свои технологии молодцы, но как мне сделать то же самое с моим MyClass::readFile('users.csv') ? А если нужно подсказать свойства текущей модели $model->getAttributeLabel('id') ? А если я хочу сделать подсказки в query builder? Да и вообще, зачем мне еще один плагин, PHPStorm ведь и без него справлялся годами? Узнать подробнее

habr.com/ru/articles/868898/

#php #intellij #plugin #intellij_platform #developer_experience #phpstorm

Meta Storm Plugin – еще один плагин для PHPStorm

Я занялся разработкой плагина для Yii3 под PHPStorm…

Хабр
Habr

Мигрируем с JetBrains PHPStorm на Cursor (VS Code)

Разберем, как настроить в Cursor (VS Code) привычные функции JetBrains PHPStorm. Множество описанных в статье функций носит общий характер и не привязано конкретно к PHP, так что будет актуально и для миграции из других продуктов Jetbrains. Тем не менее, настроим полноценную поддержку php, xdebug, .env, yaml, symfony, git, перенесем хоткеи и тему оформления, поймем, как подключаться к БД и удаленному серверу. Будет небольшое личное сравнение IDE между собой. Функции Cursor затрагивать почти не будем.

habr.com/ru/articles/866644/

#phpstorm #cursor #vs_code #php

Мигрируем с JetBrains PHPStorm на Cursor (VS Code)

Cursor (VS Code) мимикрирует под PHPStorm Разберем,…

Хабр