在用Atom来浏览或者编辑微信小程序时的界面时全灰色文字怎么办?!!
如何让wxml和wxs格式的代码像HTML,CSS变成高亮的呢。。

就像这样 ↓↓↓↓↓↓↓

使Atom支持微信小程序代码格式wxml,wxss有颜色(高亮)

修改步骤如下

1.在Atom中装插件
①language-vue
②atom-wx //主要支持wxss,wxml代码高亮
2.找到config.cson文件,在core中加入下面一行代码
config.cson在哪里?!!
file >>> setting >>> Open Config Folder
使Atom支持微信小程序代码格式wxml,wxss有颜色(高亮)

在core中加入下面一行代码
customFileTypes:"text.html.vue": ["wpy"]
使Atom支持微信小程序代码格式wxml,wxss有颜色(高亮)

`

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-06-18
  • 2021-08-10
  • 2022-12-23
  • 2022-01-18
猜你喜欢
  • 2021-05-16
  • 2021-07-01
  • 2021-09-02
  • 2021-07-17
  • 2021-12-13
  • 2022-12-23
  • 2021-10-13
相关资源
相似解决方案