Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The IDE shows error #25

Open
nikiedev opened this issue Apr 11, 2020 · 1 comment
Open

The IDE shows error #25

nikiedev opened this issue Apr 11, 2020 · 1 comment
Labels

Comments

@nikiedev
Copy link

Hello! I am using PHPStorm IDE and installed your library. Now it shows error on the blade page, the doctype is underlined by red:

@use(App\Models\Menu)

<!DOCTYPE html>
...

Also, when i write smth like:
{{ Menu::buildMenu($menu) }}
in the code below, there is no smart help of IDE as if i write the full path:
{{ \App\Models\Menu::buildMenu($menu) }}
in the 2nd before method is called - ide shows a list of possible methods.
Can this problems be somehow fixed?
Thanks.

@duncan3dc
Copy link
Owner

Not directly here, it would need to be a PhpStorm plugin. I will take a look at what's possible when I get some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants