1***@qq.com
1***@qq.com
  • 发布:2023-08-18 09:56
  • 更新:2023-08-18 17:41
  • 阅读:130

【报Bug】.editorconfig不生效,v3.8.12

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10 专业版

HBuilderX版本号: 3.8.12

示例代码:

.editorconfig

root = true  

[*]  
max_line_length = 120  
tab_width = 2  
#缩进风格:空格  
indent_style = space  
#缩进大小2  
indent_size = 2  
#换行符lf  
end_of_line = lf  
#字符集utf-8  
charset = utf-8  
#是否删除行尾的空格  
trim_trailing_whitespace = true  
#是否在文件的最后插入一个空行  
insert_final_newline = true  

[*.sass]  
indent_size = 2  

[*.scss]  
indent_size = 2  

[{*.ats,*.cts,*.mts,*.ts}]  
indent_size = 2  
tab_width = 2  

[{*.cjs,*.js}]  
indent_size = 2  
tab_width = 2  

[{*.nvue,*.vue}]  
indent_size = 2  
tab_width = 2  

操作步骤:

按照上面示例代码即可复现

预期结果:

.editorconfig 覆盖编辑器原设置;

实际结果:

.editorconfig 不起作用

bug描述:

.editorconfig不生效,相关开关和插件都安装了。webstorm 和 vscode 都是没问题的。

2023-08-18 09:56 负责人:无 分享
已邀请:
DCloud_HB_WTC

DCloud_HB_WTC

非常抱歉给您带来的不便, 这边无法复现问题, 请留下您的联系方式或者添加我的QQ: 552455601, 详聊

要回复问题请先登录注册