-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Summary / ### Steps To Reproduce:
When SLDS Validator and Agentforce for Developers extension is active in VS Code an excessive CPU usage occurs as well as multiple Java processes are executed. Java JDK and salesforce code analyzer must be installed correctly so that no errors are displayed while SF project is being opened. The project has to be connected to a Github branch. The issue amplifies when active Salesforce project is open and another one is opened in a parallel window or VS Code "Developer: Window Reload" command is used.
In order to fix the issue, SLDS Validator needs to be disabled, VS Code window reloaded and all Java processes killed in the Activity Monitor.
The issue is not specific to a Salesforce org.
Expected result
CPU usage increases to 100-200% and drops to 5% after ~20 seconds
Actual result
You should notice multiple Java processes in the activity monitor with some 1 of them usually spiking to 300-500% cpu usage and then not dropping below 96%.
Additional information
SLDS Validator: 2.0.12
Agentforce for Developers: 2.10.1
OS and version:
MacBook Pro 16-inch, 2021
Memory 16GB
Mac OS 15.5 (24F74)
VS Code version:
Version: 1.101.1 (Universal)