techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#phpstorm

1 post1 participant0 posts today

Here’s a `phpstorm <dir>` bash function that works like `code <dir>`, i.e. opens the given directory as a project in #phpstorm.

```
phpstorm() {
local dir=$1
(nohup PhpStorm nosplash "${dir}" >/dev/null 2>&1 &) >/dev/null
}
```

I couldn’t find this anywhere, and it seems to work for me.

You probably need to set Settings→Tools→Generate shell scripts in the JetBrains Toolbox App to have the `PhpStorm` command available.

My usual flow is:

```
cd /some/project/dir
phpstorm .
```

#AI is a cost factor in web development - and I expect increased prices, not cheaper solutions in future. Has anyone experience with local models (without cloud pricing), which CPU is required, etc.? E.g. for #jetbrains #phpstorm AI offline mode or other tools? 🤔 (And is there any chance that they might be a bit more sustainable in regards to energy usage? 🌱)

jetbrains.com/help/ai-assistan #KI

AI Assistant HelpSwitch to offline mode | AI Assistant

I haven’t had many problems with #PhpStorm’s #Xdebug integration in a long time. Most of the time, it Just Works, but today, it decided it doesn’t like me, and so now, my afternoon has been spent trying to get it to work again.

This is the error I see in the step debugging console. The only thing I know has changed is PhpStorm (it upgraded).

```
Cannot find file '/path/to/ramsey/uuid/Standard input code' locally.
```