top of page
Writer's pictureDragos Mihai

Speeding Up Salesforce Deployments in VS Code: Resolving the Latest Bug

Updated: Aug 17, 2023

Speeding Up Salesforce Deployments in VS Code: Resolving the Latest Bug

date: June 6, 2023

author: "Dragos Mihai"



Recently, you may have been perplexed by an unexpected slowdown in the deployment of your Salesforce Apex code when using Visual Studio Code. Trust me, you are not alone, nor is your perception mistaken. The latest versions of Salesforce Extensions for VS Code indeed have a bug causing this lag, something the development team is currently addressing.


In the meantime, I've discovered a temporary solution to keep your deployments efficient and your workflow uninterrupted. The trick is to downgrade your Salesforce Extension Pack for VS Code to v57.10.2. Let's take a closer look at the issue and how to solve it.


The Issue


The Salesforce Extensions for VS Code are instrumental in developing Salesforce applications in a smooth, seamless manner. They provide integrated features that make your development process easier, from syntax highlighting to code completion and even deployment directly into the org you are working on.


However, a recent bug in the newer versions has been significantly slowing down these deployments. Instead of the snappy push you're used to, it may have been taking a lot longer than you'd expect. If you've been frustrated by this, it's essential to understand that it's not your code, but the extensions that are at fault.


The Salesforce team is aware of the issue, and they're currently hard at work to solve it. However, until an update resolving this bug rolls out, there's a workaround that might just save you a lot of time.


The Solution


Downgrade your Salesforce Extension Pack for VS Code to version v57.10.2. This version doesn't have the troublesome bug, and it should restore the swift deployment you're accustomed to.


Here's a step-by-step guide on how to do this:


1. Open your list of installed extensions in VS Code.

2. Locate the Salesforce Extension Pack.

3. Click on the three dots ("More Actions") next to the Uninstall button.

4. From the drop-down menu, select 'Install Another Version...'.

5. Choose v57.10.2 from the list of available versions.


And voila! You should be back to speedy deployments once again.


Further Reading


If you'd like more details about this issue, check out the official GitHub ticket (https://lnkd.in/ggtY6J5a). You'll find a detailed discussion on the problem, which might help if you encounter any difficulties while downgrading your Salesforce Extension Pack.


In conclusion, while this bug has been causing some unexpected slowdowns, there is a viable workaround to keep your Salesforce deployments in VS Code efficient. Remember, the Salesforce team is aware of this issue and is working hard to rectify it. In the meantime, downgrading to Salesforce Extension Pack v57.10.2 will keep your coding workflow smooth and uninterrupted.


16 views0 comments

Recent Posts

See All

Kommentare


Get a Free Consultancy

bottom of page