1
12

Just had a discussion on our PHPeople Austria Discord Server about this example in @phpstorm

When already using the Bar class, the default behavior seems to be that Quz is used like this (Bar\Baz\Quz) instead of adding another use statement.

Intuitively I'd prefer to just add an import (/use) for the FQN of a class, in any case by default, but it seems there is no setting to achieve this.
Wonder why...do most people prefer the version in the image?

2
4
submitted 3 months ago by neme@lemm.ee to c/phpstorm@programming.dev
3
5
4
5
Awesome! (lemmy.today)

It’s great to see jetBrains communities here.

5
2

PhpStorm

56 readers
1 users here now

A community for the PhpStorm IDE for PHP developers! https://www.jetbrains.com/phpstorm/

Copyright © 2024 JetBrains s.r.o. PHPStorm and the PHPStorm logo are registered trademarks of JetBrains s.r.o.

founded 9 months ago
MODERATORS