laravel-idea / plugin

Laravel Idea plugin for PhpStorm
https://laravel-idea.com/
162 stars 7 forks source link

[Bug]: The Laravel menu is not displayed when using Laravel 10. #779

Open miysugi opened 1 year ago

miysugi commented 1 year ago

Bug description

It seems that there is no issue when using Laravel 9 (version 9.46), but the Laravel menu is not displayed when using Laravel 10 (version 10.13).

Is this a bug? Or, what steps should we take to use the plugin when using Laravel 10?

PhpStorm version: 2023.1.2

Laravel9 Laravel10

Plugin version

7.1.4.231

Operating system

Windows

Steps to reproduce

No response

Relevant log output

No response

adelf commented 1 year ago

It should work. Please try to restart PhpStorm.

miysugi commented 1 year ago

The symptom remained unchanged even after rebooting.

One thing I noticed is that immediately after trying to open the project, the Laravel menu briefly appears in the menu bar but disappears shortly after.

I also created a separate directory on the same PC and cloned the same Laravel 10.13 project there. When I opened it in PhpStorm, the Laravel menu appeared in the menu bar. The plugin seemed to work fine.

Since I was able to work around the issue, it is fine to close it. However, if sending the logs or any other information would help in uncovering the cause, I can provide them.

miysugi commented 1 year ago

If the information I provided earlier is no needed, I would like to close the ticket. How is it ?

IvalinV commented 9 months ago

Having the same issue using Laravel 10.23, no problems on previous versions. Any ideas?

EDIT:

I was able to fix it by deleting the location that was added to the Laravel Directory field and let it locate the project automatically.