function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neil KimNeil Kim 

Using VS Code Extension

Hi all! I searched many articles for a while. However, It's hard to move to there from previous Mavensmate situation.

Like what all of you already know, Mavensmate can
1. Easily getting all files from org.
2. Real-time code sync from local workspace to cloud platform.
3. Easy deployment from sandbox to product.

Can I get the benefits above at VS Code with the same approach?
I tried using it for getting all source files from cloud to local workspace, but it was hard to do that.. I cannot find login function to sandox..
Looks like only Salesfore DX org can be authorized.

Any nice article or guidance?
Thanks in advance.
Best Answer chosen by Neil Kim
Raj VakatiRaj Vakati
VS code is good for Salesforce DX approach .. ( Even you can use in for non dx org )

1. Easily getting all files from org.
       You need to pull the metada using scracth org .. or if its non dx org you need to use package.xml with all metadata

2. Real-time code sync from local workspace to cloud platform.
   Not Real time .. You need to push the changes using the SFDX push command 

3. Easy deployment from sandbox to product.

This easy and you can push the changes using SFDX push commands .. or you can mdapi commands also 

 

All Answers

Raj VakatiRaj Vakati
VS code is good for Salesforce DX approach .. ( Even you can use in for non dx org )

1. Easily getting all files from org.
       You need to pull the metada using scracth org .. or if its non dx org you need to use package.xml with all metadata

2. Real-time code sync from local workspace to cloud platform.
   Not Real time .. You need to push the changes using the SFDX push command 

3. Easy deployment from sandbox to product.

This easy and you can push the changes using SFDX push commands .. or you can mdapi commands also 

 
This was selected as the best answer
Neil KimNeil Kim
@Raj Thanks.
First one was the obstacle that I met at the first time.
Could you please explain in detail about that proces?
Using scratch org ro package.xml..

Please help more. Thanks!
Raj VakatiRaj Vakati
Refer this link 

https://www.jitendrazaa.com/blog/salesforce/using-salesforcedx-sfdx-with-non-scratch-orgs/
 
Neil KimNeil Kim
@Rak Thanks.
However, it is looks like not intended for using sandbox, just for SFDX.
So, we need to use workaround.

Is it right? SFDC wants all developer to move to SFDX circumstance?
Raj VakatiRaj Vakati
You can use the sandbox   .. SFDX works for non-DX orgs also 

Refer this steps Using SFDX with Sandboxes

If you want to use SFDX with Sandbox, then open file sfdx-project.json in VScode and change sfdcLoginUrl to https://test.salesforce.com or my domain URL if SSO is configured.