public class WorkspaceEditCapabilities
extends java.lang.Object
WorkspaceEdits| Constructor and Description |
|---|
WorkspaceEditCapabilities() |
WorkspaceEditCapabilities(java.lang.Boolean documentChanges)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
WorkspaceEditChangeAnnotationSupportCapabilities |
getChangeAnnotationSupport()
Whether the client in general supports change annotations on text edits,
create file, rename file and delete file changes.
|
java.lang.Boolean |
getDocumentChanges()
The client supports versioned document changes in
WorkspaceEdits |
java.lang.String |
getFailureHandling()
The failure handling strategy of a client if applying the workspace edit
fails.
|
java.lang.Boolean |
getNormalizesLineEndings()
Whether the client normalizes line endings to the client specific
setting.
|
java.lang.Boolean |
getResourceChanges()
Deprecated.
Since LSP introduced resource operations, use
resourceOperations |
java.util.List<java.lang.String> |
getResourceOperations()
The resource operations the client supports.
|
int |
hashCode() |
void |
setChangeAnnotationSupport(WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport)
Whether the client in general supports change annotations on text edits,
create file, rename file and delete file changes.
|
void |
setDocumentChanges(java.lang.Boolean documentChanges)
The client supports versioned document changes in
WorkspaceEdits |
void |
setFailureHandling(java.lang.String failureHandling)
The failure handling strategy of a client if applying the workspace edit
fails.
|
void |
setNormalizesLineEndings(java.lang.Boolean normalizesLineEndings)
Whether the client normalizes line endings to the client specific
setting.
|
void |
setResourceChanges(java.lang.Boolean resourceChanges)
Deprecated.
Since LSP introduced resource operations, use
resourceOperations |
void |
setResourceOperations(java.util.List<java.lang.String> resourceOperations)
The resource operations the client supports.
|
java.lang.String |
toString() |
public WorkspaceEditCapabilities()
@Deprecated public WorkspaceEditCapabilities(java.lang.Boolean documentChanges)
@Pure public java.lang.Boolean getDocumentChanges()
WorkspaceEditspublic void setDocumentChanges(java.lang.Boolean documentChanges)
WorkspaceEdits@Pure @Deprecated public java.lang.Boolean getResourceChanges()
resourceOperationsWorkspaceEdits.@Deprecated public void setResourceChanges(java.lang.Boolean resourceChanges)
resourceOperationsWorkspaceEdits.@Pure public java.util.List<java.lang.String> getResourceOperations()
ResourceOperationKind for allowed values.
Since 3.13.0public void setResourceOperations(java.util.List<java.lang.String> resourceOperations)
ResourceOperationKind for allowed values.
Since 3.13.0@Pure public java.lang.String getFailureHandling()
FailureHandlingKind for allowed values.
Since 3.13.0public void setFailureHandling(java.lang.String failureHandling)
FailureHandlingKind for allowed values.
Since 3.13.0@Pure public java.lang.Boolean getNormalizesLineEndings()
true the client will normalize line ending characters
in a workspace edit to the client specific new line character(s).
Since 3.16.0public void setNormalizesLineEndings(java.lang.Boolean normalizesLineEndings)
true the client will normalize line ending characters
in a workspace edit to the client specific new line character(s).
Since 3.16.0@Pure public WorkspaceEditChangeAnnotationSupportCapabilities getChangeAnnotationSupport()
public void setChangeAnnotationSupport(WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport)
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object