How to disable props indentation for React? Hanisek Sedlon Created January 19, 2020 15:09 Is there any way to disable this indentation for props destructuring? It's always indented in on a same position on y axis and it's so annoying :D Thanks a lot!
Try disabling Align when multiline for Function declaration parameters in Settings | Editor | Code Style | TypeScript | Wrapping and Braces:
Elena Pogorelova Works like a charm! Thank you!
One more thing crossed my mind.. Is there any way to disable automatic completing curly braces after writing prop name in JSX?
You can set Add for JSX attributes: to None in Settings | Editor | Code Style | HTML | Other to disable them, or to Based on type to have either braces or quotes auto-completed depending on props type
Elena Pogorelova It works! Thank you very much :)