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

less文件中如果对样式有注释的话,提示后自动补全会将注释信息同时添加到style.['xxx']中 #1049

Open
waveheart opened this issue Feb 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@waveheart
Copy link

插件名/Extension: React-Style-Helper

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

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

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

  1. 新建index.less, 添加两个类名, 一个有注释,一个没有注释

image

  1. 新建index.tsx, 使用样式

image

  1. 发现引用无注释的样式,自动补全正常

image

  1. 如果使用带注释的样式,补全会带出注释信息

image

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

补全带注释的样式类的时候,不应该带出注释信息

@waveheart waveheart added the bug Something isn't working label Feb 3, 2023
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