apptools-lab / AppWorks

🐻 基于 VS Code 插件的前端研发工具集,站点国内镜像:https://apptools.gitee.io

Home Page:https://appworks.site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

waveheart opened this issue · comments

commented

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

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