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
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
4
5
Awesome! (self.phpstorm)
submitted 9 months ago by FeloniousPunk to c/phpstorm@programming.dev
 
 

It’s great to see jetBrains communities here.

5