Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] vscode/微信开发者工具中没有补全能力 #175

Open
vflanker opened this issue Aug 12, 2021 · 0 comments
Open

[BUG] vscode/微信开发者工具中没有补全能力 #175

vflanker opened this issue Aug 12, 2021 · 0 comments

Comments

@vflanker
Copy link

vflanker commented Aug 12, 2021

Bug描述

使用微信开发者工具或vscode进行微信小程序开发,使用weui组件库时无法为引入的components提供补全能力。

复现方式

app.json:

"useExtendedLib": {
        "weui": true
    }

%%page%%.json:

{
    "usingComponents": {
        "mp-toptips": "weui-miniprogram/toptips/toptips",
        "mp-cells": "weui-miniprogram/cells/cells",
        "mp-cell": "weui-miniprogram/cell/cell",
        "mp-checkbox": "weui-miniprogram/checkbox/checkbox",
        "mp-checkbox-group": "weui-miniprogram/checkbox-group/checkbox-group",
        "mp-form": "weui-miniprogram/form/form",
        "mp-dialog": "weui-miniprogram/dialog/dialog"
    }
}

VS Code

有组件名提示,无属性提示,运行正常。
image
image

插件列表:

  • minapp
  • vscode wxml
  • vscode-icons
  • wechat-snippet
  • wxml

以上插件均未进行额外配置。

微信开发者工具

无组件名提示、无属性提示,运行正常。

image

版本信息

  • weui 版本 : useExtendedLib

初次接触,不知是哪步问题?另外,使用weui样式库时也有类似的需求,但现象可能不同,如有方案还请告知,谢谢各位。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant