PHP-Namespace-Resolver icon indicating copy to clipboard operation
PHP-Namespace-Resolver copied to clipboard

[Feature Request] function import

Open benjam-es opened this issue 3 years ago • 0 comments

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);

benjam-es avatar Nov 11 '21 12:11 benjam-es