vscode里创建snippet的步骤不再多说
今天晚上想着为wxml文件创建些snippets方便以后coding,结果在snippets文件夹下的wxml.json
中写了半天不见生效,气得我把javascript.json, html.json
里都写了一段
然后就发现在wxml文件中coding识别的是html.json中定义的snippet…
好吧,总结: wxml文件的snippet要写在html.json中,不要写在wxml.json中了哦
vscode里创建snippet的步骤不再多说
今天晚上想着为wxml文件创建些snippets方便以后coding,结果在snippets文件夹下的wxml.json
中写了半天不见生效,气得我把javascript.json, html.json
里都写了一段
然后就发现在wxml文件中coding识别的是html.json中定义的snippet…
好吧,总结: wxml文件的snippet要写在html.json中,不要写在wxml.json中了哦