WorkspaceEditClientCapabilities
in package
Table of Contents
Properties
- $changeAnnotationSupport : WorkspaceEditClientCapabilitiesChangeAnnotationSupport|null
- Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.
- $documentChanges : bool|null
- The client supports versioned document changes in `WorkspaceEdit`s
- $failureHandling : string|null
- The failure handling strategy of a client if applying the workspace edit fails.
- $normalizesLineEndings : bool|null
- Whether the client normalizes line endings to the client specific setting.
- $resourceOperations : array<string|int, string>|null
- The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.
Methods
- __construct() : mixed
- Undocumented function
Properties
$changeAnnotationSupport
Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.
public
WorkspaceEditClientCapabilitiesChangeAnnotationSupport|null
$changeAnnotationSupport
Tags
$documentChanges
The client supports versioned document changes in `WorkspaceEdit`s
public
bool|null
$documentChanges
$failureHandling
The failure handling strategy of a client if applying the workspace edit fails.
public
string|null
$failureHandling
Tags
$normalizesLineEndings
Whether the client normalizes line endings to the client specific setting.
public
bool|null
$normalizesLineEndings
If set to true the client will normalize line ending characters
in a workspace edit to the client specific new line character(s).
Tags
$resourceOperations
The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.
public
array<string|int, string>|null
$resourceOperations
Tags
Methods
__construct()
Undocumented function
public
__construct([bool|null $documentChanges = null ][, array<string|int, string>|null $resourceOperations = null ][, string|null $failureHandling = null ][, bool|null $normalizesLineEndings = null ][, WorkspaceEditClientCapabilitiesChangeAnnotationSupport|null $changeAnnotationSupport = null ]) : mixed
Parameters
- $documentChanges : bool|null = null
- $resourceOperations : array<string|int, string>|null = null
- $failureHandling : string|null = null
- $normalizesLineEndings : bool|null = null
- $changeAnnotationSupport : WorkspaceEditClientCapabilitiesChangeAnnotationSupport|null = null