erichard / SublimePHPCompanion

A Sublime Text plugin that provides cool stuff for PHP 5.3+ coding session.
MIT License
932 stars 115 forks source link

Handle duplicate import classes as the same #70

Closed rudiedirkx closed 7 years ago

rudiedirkx commented 8 years ago

Sometimes I'm working in a test/dev project with many instances of the same package (e.g. Behat because 5 libraries in my ST project use Behat). When I want to import a Behat class, I press F5 and it pops up with 5 options: 5 different class files from those 5 libraries, but the 5 Full/Qualified/Class/Name are exactly the same. The files might even be different, because they're different versions, but that's not important.

If the resulting import is the same, it doesn't have to pop up.