Code completion incorrectly chooses JSX tag

I keep running into instances where PHPStorm is autocompleting into JSX tags instead of the variable that is in scope. Here is an example:

https://recordit.co/76eeYY0Gj4

If I use the arrow keys to move between the list and go back to the first suggestion, everything works fine. But If I just hit tab when the menu pops up, I get a JSX tag. Anyone know how to kill this setting? It started happening the last time I upgraded PHP storm.

0
2 comments

please follow https://youtrack.jetbrains.com/issue/WEB-40926 for updates.
As a workaround, try turning Enable JSX Emmet off in Preferences | Editor | Emmet | JSX

0
Avatar
Permanently deleted user

Yes that solved it! Thank you so much!!

0

Please sign in to leave a comment.