SalesforceDX Code CompanionNote that this is not official from Salesforce. I created this extension to help my own development workflow for building salesforce apps. This extension supplements Salesforce Official Extension Pack with features like faster save of apex,lwc and vf pages.You can use this to also retrieve package metadata from salesforce orgs in both traditional metadata and SalesforceDX formats. Also supports managing conflicts between salesforce files and salesforce org Provides ability to save Apex Classes,Apex Triggers, Visualforce, AuraBundles, Lightning Web Component Bundles(under preview) and ApexComponents to Salesforce Org at blazing speed without source tracking. Also enables retrieving code from the salesforce unmanaged package/changesets in both DX and NonDX source formats .You can also switch between authenticated orgs easily with CCDX: Switch Command. This extension requires users to have SalesforceDX CLI and also mo-dx-plugin(run sfdx plugins:install mo-dx-plugin) for SalesforceDX CLI.This Extension works with both scratch orgs and Non-scratch orgs. It is highly recommended to use with Salesforce Extension Pack to get all the other good things salesforce official extension offers (https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode) . RequirementsThis vscode extension works only once you have installed Salesforce CLI and a mo-dx-plugin(run sfdx plugins:install mo-dx-plugin on your terminal) that has api for all the commands this extension leverages .
Features
Video Recordings of all featureshttps://www.youtube.com/playlist?list=PLDFd1LjbN883y5IlMuU8BCyGhRO-VMuw9 Issue ReportingYou can join the slack channel for any assistance here. If you find any issues feel free to log it on the github page for the project @ https://github.com/msrivastav13/DX-Code-Companion/issues You can also reach out to me via my twitter @msrivastav13 or via my MVP email handle mohith.shrivastava@salesforcemvps.com Extension Shortcut KeysTo open command pallete and look for all CCDX Commands use below . "MACOSX": "cmd+shift+p", "win": "ctrl+shift+p", "linux": "ctrl+shift+p", Release Notes0.4.81.Update npm libraries to latest. Fixes Security Vulnerabilities 0.4.71.Update npm libraries to latest. Fixes Security Vulnerabilities 2.Update mo-dx-plugins using sfdx plugins:update to get latest CLI plugin extension that powers this extension 3.Diff view now respects current UI theme set by user 0.4.61.Update npm libraries to latest. Fixes Security Vulnerabilities 0.4.11.Update npm libraries to latest. Fixes Security Vulnerabilities 0.4.01.Fix issues listed here 2.Install mo-dx-plugin now from the extension context menu directly if you do not have mo-dx-plugin. 3.Security patch 0.3.91.There is a setting provided(dx-code-companion.staticresourcefolder.resourceBundleFoldername) to indicate the resource bundle folder name for single page app development. Default value is "staticresource" but if you prefer to use names like "resourcebundle" or "spa" use the settings to change it 2.A static resource folder has a explorer menu to deploy the folder as static resource bundle 0.3.71.Now you can directly edit the static resource file and save to the server.Note that your folders or files should be within folder named "staticresources".If you are building a vf app using vue or React,you can keep your files in folder named staticresources and edit the app and save the file. 0.3.61.To manage settings you dont need to edit the settings.json and instead has UI 2.Security path via npm audit 0.3.31.Update the sfdx-core to use latest version. 2.Save to salesforce would automatically kick off when vscode opens a folder. Made sure it happens only when user manually tries to save the file 3.Remove support for v1.29.0 vscode. Requires v1.30.0 and above 0.3.0Fully support changeset driven development (https://trailhead.salesforce.com/en/content/learn/modules/declarative-change-set-development/develop-and-test-changes-locally) This version requires you to upgrade mo-dx-plugin to 0.2.0 version. Run With this release,you can use DX Code Companion extension to retrieve source from the changeset created in your sandbox (Assumes you have authorized CLI to sandbox using "SFDX:Authorize and org").Use vscode to edit contents if needed and then deploy to target orgs all from VScode without need to upload the changesets and wait.
5.Click on "src" folder for your changeset to deploy them . The interface will ask you to pick orgs from list of orgs you have added in previous step 0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.0
0.1.10
0.1.81.Switch between authenticated orgs using new Switch Org Command .This opens up to switch and deploy the code between orgs using SFDX:Deploy To Org Command 2.Fix AutoSave to now not run terminal command if file type is not supported 3.Better naming and Grouping .All Commands now CCDX as the prefix . 4.LWC(Lighnting Web Components) support improved 5.Introduces sfdx-core library in the build opening up lot more existing features to come in next release. 0.1.41.Auto Save enabled .You can disable using the autosave property Use the settings (Select Code > Preferences > Settings) from the gear icon and modify the usersettings to disable the autosave feature as shown below by setting dx-code-companion.autosave.enabled as false . 2.Save LWC Components(Under preview).Upgrade the mo-dx-plugin using sfdx:plugins:update mo-dx-plugin 0.1.31.Add support to retrieve metadata using package name in regular metadata format 2.Add some useful link in editor title for vf preview , app builder page ,metadata coverage report and component Library. 0.0.5
0.0.2
For more information and contribution to project visit the below repositories and use issues tab to log any feedback or issues .Enjoy! |