代码格式化
发布于 5 年前 作者 jing24 13028 次浏览 来自 问答

新版开发工具的代码格式化功能是不是不能用了

9 回复

麻烦贴一下 你不能格式的代码。

运行正常,但是不能格式化

请问是什么类型的文件格式化失败?

小鱼可以试试,右键格式化,快捷键不能格式化

你是什么版本

<view class=“weui-cell weui-cell_input”>

<view class=“weui-cell__hd”>

<view class=“weui-label”>目的地</view>

</view>

<view class=“weui-cell__bd”>

<picker bindblur=“userDateHandle” value="{{array[index]}}" range="{{array}}" bindchange=“bindPickerChange”>

<text style=“color:{{userDateColor}};” name=“modeOfTravel” class=“weui-input”>{{modeOfTravel}}</text>

</picker>

</view>

<!-- <view class=“weui-cell__bd”>

       <input bindblur=“userThateHandle” name=“userThate” value="{{userThate}}" class=“weui-input” placeholder=“请输入目的地” />

     </view> -->

</view>

不能格式化

就是这段,怎么格式化都不行

回到顶部