不要在WebStorm中的预提交中重新格式化JSX解构代码样式

时间:2019-03-15 07:31:38

标签: javascript reactjs webstorm jsx

我使用此选项:

enter image description here

重新格式化之前: enter image description here

重新格式化后: enter image description here

我需要什么设置来保留之前中的代码?

1 个答案:

答案 0 :(得分:3)

请按照WEB-29268进行更新。

目前,我只建议在“设置” |“设置”中禁用“ 多行时对齐” 。编辑器代码样式| JavaScript |包装和牙套|函数声明参数

相关问题