Save components/classes etc in SFDX and push
Issue #762
resolved
Hi,
Just query but not sure where else to ask. And no category to just ask so logging nder "enhancement" for now.
I can't seem to figure out how to setup IC in a way that saving any components/classes or anything else should push it to salesforce.
In my IC preferences, under "Salesforce DX" tab, I have said yes to all "Save, Create, Delete, Rename/Move" to push to server when saved. But still not doing it.
Also, just curious, will it try to push everything? In my opinion, it takes forever with just regular push command to figure out what to push. Maybe (if not already; but not sure) it can be done to only push the file that has been saved?
Please suggest.
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Resolving due to lack of activity.
- Log in to comment
So I see two questions here. The first is around how to configure IC to perform an SFDX push reliably when you save changes to local metadata. There are two settings to check there under Illuminated Cloud>Configure Application:
If you have it configured that way and it's still not pushing every time you type Ctrl+S/Cmd+S, please let me know.
The second question seems to be about whether you can do partial pushes since full pushes seem expensive. Salesforce DX fully manages which subset of metadata is moved when you push and pull. It tracks the local<=>server state and on each push or pull tries to determine exactly what needs to be moved and only deploys/retrieves that. Now, one thing that's important is that under the hood, SFDX only uses the metadata API which can take longer than the tooling API.
Let me know if I've misunderstood your questions or not answered them to your satisfaction.