Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend
Original file line number Diff line number Diff line change
Expand Up @@ -2240,6 +2240,8 @@ class TextDocumentClientCapabilities {
* Since 3.17.0
*/
DiagnosticCapabilities diagnostic

InactiveRegionsCapabilities inactiveRegionsCapabilities

new() {
}
Expand Down Expand Up @@ -9956,6 +9958,46 @@ class InlineValueWorkspaceCapabilities {
}
}

/**
* Capabilities specific to the `textDocument/inactiveRegionsCapabilities` notification.
*/
@JsonRpcData
class InactiveRegionsCapabilities {

Boolean inactiveRegions

new() {
}

new(Boolean inactiveRegions) {
this.inactiveRegions = inactiveRegions
}
}

@JsonRpcData
class InactiveRegionsParams {
/**
* The document for which inactive regions information is reported.
*/
@NonNull
TextDocumentIdentifier textDocument

/**
* An array of ranges information items.
*/
@NonNull
List<Range> regions

new() {
this.regions = new ArrayList
}

new(@NonNull VersionedTextDocumentIdentifier textDocument, @NonNull List<Range> regions) {
this.textDocument = Preconditions.checkNotNull(textDocument, 'textDocument')
this.regions = Preconditions.checkNotNull(regions, 'regions')
}
}

/**
* A set of predefined position encoding kinds indicating how
* positions are encoded, specifically what column offsets mean.
Expand Down