Reputation: 3000
I see there is a Ctrl+Alt+O
command in PHPStorm to import dependencies similar to Ctrl+Shift+O
in Eclipse, but:
Is there a way to make it behave more like Eclipse for Java?
Upvotes: 1
Views: 433
Reputation: 414
I believe the setting you're looking for is 'Auto-Import'. I tend to check off both for file and namespace scope.
Alt+Enter (*nix, Windows) over a missing class will also import it if you notice while in line.
Upvotes: 1