Does anyone know how to get WebStorm to stop injecting curly brackets by default when you define a prop in JSX?
-
Show this thread
-
Figured it out: File | Settings | Editor | Code Style | HTML | Other | Add for JSX attributes Why it's in HTML? Anyone's guess.
1 reply 0 retweets 0 likesShow this thread
Replying to @jaredLunde
Sorry, we don't have a separate code style settings for the JSX code. Since JSX inherits its code style options from HTML, we've decided to leave it as it is now.
4:08 AM - 29 Oct 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.