View source
enum abstract FailureHandlingKind(String)
package languageServerProtocol.protocol
import languageServerProtocol.protocol.Protocol
Static variables
staticinlineread onlyAbort:FailureHandlingKind = "abort"
Applying the workspace change is simply aborted if one of the changes provided fails. All operations executed before the failing operation stay executed.
staticinlineread onlyTextOnlyTransactional:FailureHandlingKind = "textOnlyTransactional"
If the workspace edit contains only textual file changes they are executed transactional. If resource changes (create, rename or delete file) are part of the change the failure handling startegy is abort.
staticinlineread onlyTransactional:FailureHandlingKind = "transactional"
All operations are executed transactional. That means they either all succeed or no changes at all are applied to the workspace.
staticinlineread onlyUndo:FailureHandlingKind = "undo"
The client tries to undo the operations already executed. But there is no guaruntee that this is succeeding.