varletjs / varlet

A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.
https://varlet.pages.dev
MIT License
4.81k stars 602 forks source link

fix(extension): modify prompt bug #1608

Closed chenyuqiua closed 2 months ago

chenyuqiua commented 2 months ago

Checklist

List of tasks you have already done and plan to do.

Change information

When a user enters "@", the prompt information can be correctly matched. However, when a user enters "@s", other prompt information prefixed with "@s", for example, "@select", cannot be matched. This is very unfriendly to the user in the use event prompt. I fixed the issue to make sure users get better code hints. Since hasAt and hasColon get incorrect values when the user types ":s" or "@s", I changed the way I get their values to ensure that I get the correct values in all cases.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
varlet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 5:08pm
vercel[bot] commented 2 months ago

Someone is attempting to deploy a commit to the varletjs Team on Vercel.

A member of the Team first needs to authorize it.