标签: 代码格式化

1 个内容

笔记(1)

WebStorm 代码格式化会自动去除空格导致与 VSCode 开发的同事代码冲突。需在 WebStorm 设置中,将 `Editor > General > On Save` 中 "Remove trailing spaces on save" 设置为 `None` 或取消勾选,并取消 `Tools > Actions on Save` 中的所有选项。粘贴时使用 `Ctrl+Shift+Alt+V` 纯文本粘贴可避免冲突。

Elliot Yang·
113 浏览