在缩进时,VSCode不会在JavaScript中拆分括号

时间:2018-06-19 07:58:23

标签: javascript visual-studio-code indentation

如何在VSCode中避免这种格式化?

if (
  /^(?=.*[a-z])[A-Za-z\d!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]{6,12}$/.test(
    value
  )
) {
  numberCondition++;
}

if (/^(?=.*[a-z])[A-Za-z\d!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]{6,12}$/.test(value)) {
  numberCondition++;
}

0 个答案:

没有答案