Stay organized, easily identify your default org and prevent unwanted deployments with Salesforce ColORG. The extension will automatically change the color of your VScode workspace based on the Salesforce org you're currently connected to. Define the set of rules and the colors to apply and start boosting your productivity!
How it works
Follow the steps below to configure your rules. This will identify your org aliases to apply specific colors for them. Once configured, the extension will run in the background each time you change your default org alias (using the SFDX CLI command, the SFDX VSCode extension, etc.) and will automatically update your workspace color settings based on the rules.
1. Define your own rules
Go to your Visual Studio Code settings and find the Rules setting under the Salesforce ColORG extension. The rules are a list of objects with two attributes:
Here there's an example with two rules configured. You can add as many as you want:
You can find here some pre-defined Regular Expressions to help you with the initial setup:
2. Specify where to apply the color
You can define whether the color will change in your VSCode workspace for the Activity Bar, the Satus Bar or both of them!