What are the shortcut keys in Phpstorm to remove Namespaces that are not in use in a Class?

Asked

Viewed 547 times

2

What is the shortcut on phpstorm that clears the namespaces that are not in use in a class, I saw in a video class the teacher talking about a key combination and automatically cleared the namespaces use App.... etc, but did not say what they were.

use App\Contracts\UserRepositoryInterface;
use App\Http\Controllers\Controller;
use App\Repositories\UserFacebookRepository;
use Config;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use OAuth;

Below:

use App\Http\Controllers\Controller; 
use Config;

are not in use, as remove by shortcut keys?

1 answer

2


Browser other questions tagged

You are not signed in. Login or sign up in order to post.