I keep seeing "Indexing Lightning Components" in Visual Studio Code, which is a CPU and Memory hogging activity, slowing my PC. Is there a way to make it less CPU intensive?
-
Try to close and reopen Visual Studio a few times. I have similar issues on IntellJ IDEA sometimes...– Carlos NaranjoNov 1, 2019 at 0:46
-
Same issue, any solution ? I also tried reopening...– SrujanDec 7, 2019 at 13:02
-
Something is wrong - I'm getting too... I guess I should file a bug with the vscode team– Caspar HarmerDec 10, 2019 at 18:30
1 Answer
I added the same comment to Saleforce github issues for VS Code Salesforce dx plugin, and it was marked as a bug by SF team. Seems the issue is with Aura Component extension for VS Code by Salesforce. It can be checked at below link https://github.com/forcedotcom/salesforcedx-vscode/issues/1592
-
Disabling aura component extension removed errors and CPU drain, thank you Dec 11, 2019 at 15:19
-
1Disable aura component extension would be useful is one is not developing in lightning.– adityaJan 27, 2020 at 21:47