WorkspaceEdits
| Modifier and Type | Field and Description |
|---|---|
| private WorkspaceEditChangeAnnotationSupportCapabilities | changeAnnotationSupport
Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes. |
| private Boolean | documentChanges
The client supports versioned document changes in |
| private String | failureHandling
The failure handling strategy of a client if applying the workspace edit fails. |
| private Boolean | normalizesLineEndings
Whether the client normalizes line endings to the client specific setting. |
| private List | resourceOperations
The resource operations the client supports. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | WorkspaceEditCapabilities(final Boolean documentChanges)
Deprecated
because when this class first existed it didn't have any other fields.
Now that this class has lots of fields, there is nothing special about this
field and therefore using the setters is the recommended use case.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public WorkspaceEditChangeAnnotationSupportCapabilities | getChangeAnnotationSupport()
Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes. |
| public Boolean | |
| public String | |
| public Boolean | getNormalizesLineEndings()
Whether the client normalizes line endings to the client specific setting. |
| public List | |
| public int | |
| public void | setChangeAnnotationSupport(final WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport)
Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes. |
| public void | setDocumentChanges(final Boolean documentChanges)
The client supports versioned document changes in |
| public void | setFailureHandling(final String failureHandling)
The failure handling strategy of a client if applying the workspace edit fails. |
| public void | setNormalizesLineEndings(final Boolean normalizesLineEndings)
Whether the client normalizes line endings to the client specific setting. |
| public void | setResourceOperations(final List<String> resourceOperations)
The resource operations the client supports. |
| public String |
| changeAnnotationSupport | back to summary |
|---|---|
| private WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes. Since 3.16.0 | |
| documentChanges | back to summary |
|---|---|
| private Boolean documentChanges The client supports versioned document changes in | |
| failureHandling | back to summary |
|---|---|
| private String failureHandling The failure handling strategy of a client if applying the workspace edit fails.
See Since 3.13.0 | |
| normalizesLineEndings | back to summary |
|---|---|
| private Boolean normalizesLineEndings Whether the client normalizes line endings to the client specific setting.
If set to Since 3.16.0 | |
| resourceOperations | back to summary |
|---|---|
| private List<String> resourceOperations The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.
See Since 3.13.0 | |
| WorkspaceEditCapabilities | back to summary |
|---|---|
| public WorkspaceEditCapabilities() | |
| WorkspaceEditCapabilities | back to summary |
|---|---|
| public WorkspaceEditCapabilities(final Boolean documentChanges)
Deprecated because when this class first existed it didn't have any other fields. Now that this class has lots of fields, there is nothing special about this field and therefore using the setters is the recommended use case.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getChangeAnnotationSupport | back to summary |
|---|---|
| public WorkspaceEditChangeAnnotationSupportCapabilities getChangeAnnotationSupport() Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes. Since 3.16.0 | |
| getDocumentChanges | back to summary |
|---|---|
| public Boolean getDocumentChanges() The client supports versioned document changes in | |
| getFailureHandling | back to summary |
|---|---|
| public String getFailureHandling() The failure handling strategy of a client if applying the workspace edit fails.
See Since 3.13.0 | |
| getNormalizesLineEndings | back to summary |
|---|---|
| public Boolean getNormalizesLineEndings() Whether the client normalizes line endings to the client specific setting.
If set to Since 3.16.0 | |
| getResourceOperations | back to summary |
|---|---|
| public List The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.
See Since 3.13.0 | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setChangeAnnotationSupport | back to summary |
|---|---|
| public void setChangeAnnotationSupport(final WorkspaceEditChangeAnnotationSupportCapabilities changeAnnotationSupport) Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes. Since 3.16.0 | |
| setDocumentChanges | back to summary |
|---|---|
| public void setDocumentChanges(final Boolean documentChanges) The client supports versioned document changes in | |
| setFailureHandling | back to summary |
|---|---|
| public void setFailureHandling(final String failureHandling) The failure handling strategy of a client if applying the workspace edit fails.
See Since 3.13.0 | |
| setNormalizesLineEndings | back to summary |
|---|---|
| public void setNormalizesLineEndings(final Boolean normalizesLineEndings) Whether the client normalizes line endings to the client specific setting.
If set to Since 3.16.0 | |
| setResourceOperations | back to summary |
|---|---|
| public void setResourceOperations(final List<String> resourceOperations) The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.
See Since 3.13.0 | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |