From a89e69c381bbfb821800a1f2af1e8dca9370af01 Mon Sep 17 00:00:00 2001 From: zhengw <247276359@qq.com> Date: Thu, 15 Jan 2026 09:33:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=BDvscode=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E4=BD=BF=E7=94=A8=E7=9A=84=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0dc901a --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,62 @@ +{ + "window.title": "普惠版小程序开发", + "[wxml]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[wxss]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "prettier.documentSelectors": [ + // "**/*.wxml", + "**/*.wxss", + "**/*.wxs" + ], + "files.associations": { + // "*.wxml": "html", + "*.wxss": "css" + }, + "search.exclude": { + "**/node_modules": true, + "**/bower_components": true, + "**/*.code-search": true, + "**/.dart_tool": true, + "**/miniprogram_npm": true, + "**/typings": true + }, + "wxmlConfig.onSaveFormat": true, + "wxmlConfig.format": { + "brace_style": "collapse", + "end_with_newline": false, + "indent_char": " ", + "indent_handlebars": false, + "indent_inner_html": false, + "indent_scripts": "keep", + "indent_size": 2, + "indent_with_tabs": false, + "max_preserve_newlines": 1, + "wrap_attributes_count": 4, + "unformatted": "['text']", + "disable_automatic_closing_labels": false, + "preserve_newlines": true, + "wrap_attributes": "force-expand-multiline" + }, + "cSpell.words": [ + "bindchange", + "binddragend", + "binddragstart", + "bindgetphonenumber", + "bindscroll", + "bindtap", + "borderless", + "catchtap", + "companys", + "DFSESSID", + "elif", + "miniprogram", + "qrcode", + "Sess", + "Sesskey", + "showmenu", + "unionid" + ] +}