PhpStorm

60 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
1
 
 

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
3
5
submitted 7 months ago by mac to c/phpstorm
4
5
Awesome! (lemmy.today)
submitted 9 months ago by [email protected] to c/phpstorm
 
 

It’s great to see jetBrains communities here.

5