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

React Style Helper 插件不支持中括号定义样式的跳转到定义处 #1080

Open
lfire opened this issue May 16, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@lfire
Copy link

lfire commented May 16, 2024

插件名/Extension: React Style Helper

您的本地环境信息/Your local environment information

  • 操作系统及其版本/System and Version: any
  • Node version: any
  • npm version: any

您遇到的问题及复现步骤/What are your problems and how to reproduce them

当使用 style['cover']写法时,无法支持跳转,
image
但当使用style.cover写法时,是支持的。
在实际使用中,中括号的语法是无法完全避免的,如:style['box-card']

您期待的正确结果/The right result you're looking forward to

当使用中括号语法时,同样支持跳转到定义处

@lfire lfire added the bug Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant