MehediDracula / PHP-Namespace-Resolver

PHP Namespace Resolver - VSCode Extension
https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-namespace-resolver
MIT License
124 stars 31 forks source link

[Feature Request] function import #98

Open benjam-es opened 3 years ago

benjam-es commented 3 years ago

I currently use the plugin with a key binding to import the class I have my cursor on which imports this:

use App\Models\User;

Is it possible to have my cursor on a function (which my IDE shows is from an external class) and import that like this:

use function Some\Class\formatText;

enabling me to then use formatText($input);