R
R
Romi2021-04-11 23:38:07
PHP
Romi, 2021-04-11 23:38:07

What plugin should I use so that intelephense in VSC does not underline Laravel facades in red for me?

VSC highlights the Laravel facades for me (in the example below, this is, as you understand, migration) in red and writes:

Undefined type 'Schema'.intelephense(1009)

75621459-8ff86500-5bcf-11ea-8f89-445a89c270ea.png

although, everything works fine.

What plugin or setting can disable this?

Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Romi, 2021-04-12
@romicohen

In general, apparently: https://github.com/bmewburn/vscode-intelephense/is... (I'm not the only one) the problem does not have an unambiguous solution.
I do not want to install third-party packages in the project for the sake of such a thing. Disabling the check is also not ice. Karoch, I will live with underlined facades))
Although, somehow it was decided for me earlier. Mb is only in the old versions of Laravel is ... xs karoch))

N
netrox, 2021-04-12
@netrox

https://marketplace.visualstudio.com/items?itemNam...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question