webstorm缩进设置

 时间:2026-02-15 11:23:48

1、首先在电脑上打开webstorm,如果没有安装,需要下载并安装

webstorm缩进设置

2、进入后我们首先在首页中写一个比好简单的html语句,然后使用ctrl+s保存代码

webstorm缩进设置

3、保存了以后我们点击webstorm的左上角找到file----settings设置功能,点击进入

webstorm缩进设置

4、然后我们在settings中找到Editor---code style---javascript,并将里面的Table size 、indent、Continuation iindent的值都调整为4,并且点击OK

webstorm缩进设置

5、然后在左侧菜单中找到Editor---code style,将Detect and use existing file indents for editing和Endable EditorConfig support的勾选都去掉

webstorm缩进设置

6、去掉了以后点击右下角的apply(应用),然后点击OK保存

webstorm缩进设置

7、这样在使用缩进的Table就可以直接缩进4个字符了

webstorm缩进设置

  • jquery如何实现鼠标放上div时改变其大小
  • js 判断是否为火狐浏览器
  • thinkphp如何在html页面输出数据库数据
  • JSP页面添加背景音乐
  • html如何设置表格单元格垂直居中
  • 热门搜索
    蝴蝶兰开完花后怎么处理方法 三国杀怎么玩 芒果吃多了会怎么样 hurt怎么读 breakfast怎么读 月经发黑是怎么回事 香菇的做法大全家常 jpg格式图片怎么弄 脸上为什么会长斑 为什么花呗提前还款是大忌