您的位置:首页 > 博客中心 > 前端开发 >

小程序开发中 在 wxml格式化 属性断行

时间:2022-09-07 11:14

首先 ctrl + shift + p 换出设置

技术图片

对格式进行管理

    "files.associations": {
        "*.cjson": "jsonc",
        "*.wxss": "css",
        "*.wxs": "javascript",
        "*.wxml": "html"
    },

再去设置中搜索 html.format.wrapAttributes
设置成 force-aligned

本类排行

今日推荐

热门手游