Do not save multiple classes/files at once
Given
- two open classes, both modified, one with a compile issue
- select the class which has no compile issue
- hit save
Expected
The selected class is saved to Salesforce without an error. The other class (with compile issue) is ignored and not deployed (better: all other dirty files are ignored).
Actual
IC tries to deploy all dirty open files, the deployment of all files does fail due to the compile issue in one of the classes.
Comments (6)
-
repo owner -
repo owner - changed version to 1.7.8.1
-
assigned issue to
-
reporter Scott, this sounds promising. Thank you very much.
-
repo owner Just checked this in and it will be in the next build (shooting for Monday morning). There's now a configuration option when Override Save All action is enabled, Deploy all modified files, that when enabled has the current behavior and when disabled only deploys the current file at the time that the save was requested:
For consistency with current behavior, it's enabled by default, so just disable it after taking the new build.
-
repo owner - changed status to resolved
Delivered in 1.7.8.1.
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
Good timing, Alexander. I was planning to implement this as a configurable option for the next build.