Skip to content
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

.wxml文件中存在<wxs>标签,VSCode 格式化问题 #84

Closed
blusoul opened this issue Jul 3, 2018 · 4 comments
Closed

.wxml文件中存在<wxs>标签,VSCode 格式化问题 #84

blusoul opened this issue Jul 3, 2018 · 4 comments

Comments

@blusoul
Copy link

blusoul commented Jul 3, 2018

版本说明

OS: windows 10 1803
VSCode: 1.24.1
minapp: 1.6.1

问题描述:

  • VSCode中格式化有标签的.wxml文件时,每次保存格式化时会在标签内首行和尾行增加一个空行
  • 去掉保存格式化,手动格式化也是如此,没有其他微信小程序类插件的冲突,其他插件不高亮
  • 不知道是VSCode格式化的问题,还是插件的问题

截图

@qiu8310
Copy link
Owner

qiu8310 commented Jul 3, 2018

了解了,格式化是插件里做的,我下个版本修复

@blusoul
Copy link
Author

blusoul commented Jul 5, 2018

@qiu8310 好,谢谢你

@qiu8310 qiu8310 closed this as completed in ad8a166 Jul 6, 2018
@qiu8310
Copy link
Owner

qiu8310 commented Jul 6, 2018

问题修复了,更新插件即可

@blusoul
Copy link
Author

blusoul commented Jul 9, 2018

@qiu8310 嗯,wxs 标签 格式化不会插入空行了,但貌似也不能格式化wxs标签里的JS了,还好不是很影响使用,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants