-
-
Notifications
You must be signed in to change notification settings - Fork 225
Description
Hi, thanks for the great extension that saved me a lot of time. With the latest update (0.6.3) I was experiencing some hiccups. Although I'm not sure this is a bug or a problem of the extension per se I'm opening the issue in case someone is searching the same problem and trying to find a solution (or at least the solution that worked for me).
Description
- Extension version: 0.6.3
- VSCode Version: 1.56.2
- OS: Windows 10 (10.0.19041)
I was migrating a static site project that used Tailwind 1.9 to Tailwind 2.1 and after updating all Javascript dependencies to use Laravel Mix 6 and Tailwind 2.1 the autocomplete was very slow and unresponsive. I was experiencing this in Blade files, but I think it was not really connected to the type of file.
From the task manager the effect of this was a process, pertaining to VSCode, using more than 7GB of RAM and about 60% of the CPU continuously. Terminating that process would terminate and restart the Tailwind CSS IntelliSense extension. After that the extension works for some minutes before again occupy all the resources
I'm referencing here the loaded versions and files as reported in the output of the extension. The tailwind config file is almost empty.
Found Tailwind CSS config file: ***\tailwind.config.js
Loaded postcss v8.2.15: ***\node_modules\postcss
Loaded tailwindcss v2.1.2: ***\tailwindcss
Actions done
After some time I decided to disable the extension to confirm that the problem was caused by the Tailwind IntelliSense and in fact the CPU and RAM usage was back to an acceptable level. Re-enabling the extension unfortunately recreate the same problem.
In order to resolve it I uninstalled the extension and installed it again. Once reinstalled the autocomplete was again very quick and the system resources were back to a normal level.
I'm not sure what was causing the problem and I didn't investigate it deeply.