Skip to content

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

@lfire

Description

@lfire

插件名/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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions