How to get rid of {} code completion after typing className= in PyCharm

Whenever I type className= in tailwind, it automatically completes with className={} and I have to delete the “{}” everytime, does anyone know what setting turns this off?

0
1 comment

Hello,
Please try the following steps to turn this off:

  1. Open Settings → Editor → Code Style → HTML → Other.
  2. Find “Add for JSX attributes”.
  3. Change it from Braces to Quotes or None

After this change, typing className= will no longer auto‑complete to className={}.

Feel free to contact us if you have any questions.

0

Please sign in to leave a comment.