Package org.eclipse.lsp4j
Class WorkspaceEditCapabilities
- java.lang.Object
-
- org.eclipse.lsp4j.WorkspaceEditCapabilities
-
public class WorkspaceEditCapabilities extends java.lang.Object
Capabilities specific toWorkspaceEdit
s
-
-
Constructor Summary
Constructors Constructor Description WorkspaceEditCapabilities()
WorkspaceEditCapabilities(java.lang.Boolean documentChanges)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 inWorkspaceEdit
sjava.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.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 inWorkspaceEdit
svoid
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
setResourceOperations(java.util.List<java.lang.String> resourceOperations)
The resource operations the client supports.java.lang.String
toString()
-
-
-
Method Detail
-
getDocumentChanges
public java.lang.Boolean getDocumentChanges()
The client supports versioned document changes inWorkspaceEdit
s
-
setDocumentChanges
public void setDocumentChanges(java.lang.Boolean documentChanges)
The client supports versioned document changes inWorkspaceEdit
s
-
getResourceOperations
public java.util.List<java.lang.String> getResourceOperations()
The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.See
ResourceOperationKind
for allowed values.Since 3.13.0
-
setResourceOperations
public void setResourceOperations(java.util.List<java.lang.String> resourceOperations)
The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.See
ResourceOperationKind
for allowed values.Since 3.13.0
-
getFailureHandling
public java.lang.String getFailureHandling()
The failure handling strategy of a client if applying the workspace edit fails.See
FailureHandlingKind
for allowed values.Since 3.13.0
-
setFailureHandling
public void setFailureHandling(java.lang.String failureHandling)
The failure handling strategy of a client if applying the workspace edit fails.See
FailureHandlingKind
for allowed values.Since 3.13.0
-
getNormalizesLineEndings
public java.lang.Boolean getNormalizesLineEndings()
Whether the client normalizes line endings to the client specific setting.If set to
true
the client will normalize line ending characters in a workspace edit to the client specific new line character(s).Since 3.16.0
-
setNormalizesLineEndings
public void setNormalizesLineEndings(java.lang.Boolean normalizesLineEndings)
Whether the client normalizes line endings to the client specific setting.If set to
true
the client will normalize line ending characters in a workspace edit to the client specific new line character(s).Since 3.16.0
-
getChangeAnnotationSupport
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
-
setChangeAnnotationSupport
public void setChangeAnnotationSupport(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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-