You need to sign in to do that
Don't have an account?
Marketing Marketing 27
SFDX How to Import only a few specific apex classes from your connected org?
Just started using VS code and SFDX for development work and am trying to use it to update classes I had previously written in the developer console.
My question is, how can I import just a few select classes into the VS code project without pulling all of them? I know that you can right click on Package XML and click Retrieve Source in Manifest from Org, but that brings in everyting, and I don't want that.
Is there a terminal command that can solve for this?
Thanks
My question is, how can I import just a few select classes into the VS code project without pulling all of them? I know that you can right click on Package XML and click Retrieve Source in Manifest from Org, but that brings in everyting, and I don't want that.
Is there a terminal command that can solve for this?
Thanks
Please mark as Best Answer if above information was helpful.
Thanks,
All Answers
Please mark as Best Answer if above information was helpful.
Thanks,
One more quetion: If I delete the other class files it imported from the project folder and then run sfdx force:source:push, will that delete those classes from the connected org or will it only delete them from VS code?
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_deleting_files.htm
Thanks,