windicss-intellisense: If there is a windicss.config.ts file in the project, the plug-in will be invalid

https://user-images.githubusercontent.com/50100681/119481846-be8ace80-bd85-11eb-994b-0a1eaf230a2e.mp4

If there is a windicss.config.ts file in the project, and Loading Config File: xxx text (as shown in the picture below) does not appear in the OUTPUT, it seems to indicate that the loading is not successful and Windi Css Intellisense will not work.

Under what circumstances would the windicss.config.ts file be loaded as shown below to make the plug-in work?

`4T~G P1P56AH7CHS)@0ME2

I tried to find out the problem, but unfortunately I couldn’t find it. This problem has been bothering me and prevented me from developing efficiently through the plug-in in the project.😢

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@HenryC-3 thanks for letting us know. But it seems that @jiangmaniu does not use Auto Rename Tage. @HenryC-3 your issue looks more like #132

Hi, @alexanderniebuhr @jiangmaniu , I met the same problem.

it can be reproduced in vite + windicss or vuecli + windicss project by following steps

  1. windicss-vite-html-demo
  2. disable all plugins in the workspace except WindiCSS IntelliSense and Auto Rename Tag plugin
  3. reload window (IntelliSense works fine)
  4. modify windi.config.ts (IntelliSense doesn’t work)

I fixed this problem by disabling Auto Rename Tag plugin, then reloading the vscode window

https://user-images.githubusercontent.com/41246463/119538200-738cad80-bdbd-11eb-9946-8e639360c1af.mov

Disable automatic renaming to take effect

@HenryC-3 Disable Auto Rename Tag plugin is work for me, thanks!