Haehnchen / idea-php-laravel-plugin

Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
MIT License
573 stars 109 forks source link

[Feature Request] Offer to create view file if not exists, while navigating to declaration from controller #200

Open rohithmeethal opened 5 years ago

rohithmeethal commented 5 years ago

Consider this controller action

class BookingsController extends Controller
{
    public function index()
    {
        return view('bookings.index');
    }
}

View bookings/index.blade.php does not exist yet. So when trying to navigate to source using ctrl+click or ctrl+b (linux shortcuts) it shows source file doesn't exist. Is there a possibility to offer create this file if it doesn't exist ? I think this would be nice addition.

Thanks for making this awesome plugin, this is really something I can't live without when working with Laravel :)