设置代码缩进

1. 依次打开files —- settings —- Editor —- Code Style —- JavaScript

webstorm 设置缩进不生效

2.设置Tabs and Indents

设置为你想要的宽度

webstorm 设置缩进不生效

3.重点来了,设置完后有可能始终不生效

选中Plugins , 在右边的搜索框内搜索editorconfig,显示出这个插件列表,将他后面的勾勾去掉,点击Apply,OK,重启webstorm即可生效。
缩进即编程你需要的缩进长度。
webstorm 设置缩进不生效

相关文章:

  • 2022-12-23
  • 2021-05-26
  • 2021-11-18
  • 2021-12-26
  • 2021-06-13
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-07
  • 2021-12-12
  • 2022-12-23
  • 2021-10-02
  • 2021-07-15
相关资源
相似解决方案