0

Maybe this question has answers, but I find it hard to properly google it.

I have product with Laravel and React. And also I have PhpStorm, in which I work.

I set in Settings -> Language & Frameworks -> JavaScript

JavaScript language version React JSX

And it Settings -> Language & Frameworks -> PHP

PHP Language level: 7.1 

And React settings override HTML code completion even in PHP (blade) files.

F.e. I want to type class="", but it autocompletes class= with {}

class={}

How can I disable JS settings for React entirely for PHP files and why they work there at all (it's JS settings after all not PHP)?

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Thelambofgoat
  • 609
  • 1
  • 11
  • 24

0 Answers0