GitHub Copilot or JetBrains AI shows class instead of className in jsx files
Hi all,
When we disable the GitHub Copilot plug-in and type for example:div.test
It shows the following output:<div className="test"></div>
But if we enable GitHub Copilot plug-in or the JetBrains AI plug-in it outputs the following:<div class="test"></div>
Bit it also should use className
because we are in a jsx file.
How can we fix this? Now we have to change it manually every time.
Thanks for your time!
请先登录再写评论。
Elena Pogorelova
Here is a screenshot of the problem.
So when we enable the JetBrains AI (or GitHub Copilot) it autocompletes the div with class instead of className.