-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用了prettier 或者 prettyHtml 格式化 保存时就会报错 #83
Comments
报错内容
|
我也遇到了,请问最后怎么解决的呢 |
我也遇到了 |
This comment has been minimized.
This comment has been minimized.
退到 2.1 版本就没问题。。 |
This comment has been minimized.
This comment has been minimized.
我也遇到了,请问怎么解决 |
This comment has been minimized.
This comment has been minimized.
@JunVincetHuo @June-elisa @gz227 |
@iChenLei 请问能提供个属性来禁用 |
@JserWang 格式化是手动的功能,不使用就可以吧? 可以提供具体的代码样例吗 |
<route lang="yaml">
meta:
requiresLogin: true
</route>
<view>test</view> 当我在vscode编辑完保存之后,代码会变成 <route lang="yaml">meta:
requiresLogin: true</route>
<view>test</view> 我的编译工具会解析 我的vscode中有一项配置为 |
@JserWang 了解了,这两天释出一个加format开关的版本,感谢反馈 |
@JserWang v2.4.0 即将发布
|
编辑器配置:
{
"minapp-vscode.wxmlFormatter": "prettier",
"minapp-vscode.prettier": {
"parser": "html",
"singleQuote": false
}
}
The text was updated successfully, but these errors were encountered: