I found that there are node_modules
in each temp file…
how to fix it ?
Hi,
What version of SonarLint are you using? It looks like it’s not cleaning up after itself.
And BTW, you should be good to just delete those .sonartmp*
files.
Ann
I think the version should be 3.4.
And yes, I have deleted these files.
Hi,
Thanks for the detail. I’ve been told a version we’re releasing next week should fix this.
Ann
Hello @kid ,
The new SonarLint for VSCode, version 3.21.0, has been released and is available for download.
The .sonartmp directories should be now deleted automatically when VSCode is terminated.
Let us know whether the fix works for you.
Best,
Vojtech from :sonarlint:
Hi @kid !
I come back with good news for the new year In v4.14 of the extension, we’ve released a change to prevent the creation of too many temp folders. The change mostly affects users who analyze JS/TS/CSS code. Please upgrade, and restart your VS Code window. You can either manually delete the old
.sonarlinttmp_*
folders, or just wait and observe for a couple of days to see if the folder size goes down.
If you’re observing this issue while analyzing other programming languages let us know. Thanks a lot again for bringing this to our attention!
All the best,
Farah