Skip to content

Commit 0ca753d

Browse files
authored
Merge pull request #630 from KamasamaK/lsp-3.17-late-additions
Late updates for LSP 3.17
2 parents 425003e + f644c75 commit 0ca753d

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/PrepareSupportDefaultBehavior.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public enum PrepareSupportDefaultBehavior {
2121

2222
/**
2323
* The client's default behavior is to select the identifier
24-
* according the to language's syntax rule.
24+
* according to the language's syntax rule.
2525
*/
2626
Identifier(1);
2727

org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend

+19-8
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ class CompletionItemKindCapabilities {
629629
@JsonRpcData
630630
class CompletionListCapabilities {
631631
/**
632-
* The client supports the the following itemDefaults on
632+
* The client supports the following itemDefaults on
633633
* a completion list.
634634
* <p>
635635
* The value lists the supported property names of the
@@ -3125,6 +3125,12 @@ class CompletionItemDefaults {
31253125
*/
31263126
InsertTextMode insertTextMode
31273127

3128+
/**
3129+
* A default data value.
3130+
*/
3131+
@JsonAdapter(JsonElementTypeAdapter.Factory)
3132+
Object data
3133+
31283134
new() {
31293135
}
31303136
}
@@ -5136,7 +5142,7 @@ class LocationLink {
51365142

51375143
/**
51385144
* The range that should be selected and revealed when this link is being followed, e.g the name of a function.
5139-
* Must be contained by the the {@link #targetRange}. See also {@link DocumentSymbol#range}
5145+
* Must be contained by the {@link #targetRange}. See also {@link DocumentSymbol#range}
51405146
*/
51415147
@NonNull
51425148
Range targetSelectionRange
@@ -5465,7 +5471,7 @@ class ReferenceParams extends TextDocumentPositionAndWorkDoneProgressAndPartialR
54655471
* Since 3.12.0
54665472
*/
54675473
@JsonRpcData
5468-
class PrepareRenameParams extends TextDocumentPositionParams {
5474+
class PrepareRenameParams extends TextDocumentPositionAndWorkDoneProgressParams {
54695475
new() {
54705476
}
54715477

@@ -5660,6 +5666,11 @@ final class SemanticTokenTypes {
56605666

56615667
public static val Operator = 'operator'
56625668

5669+
/**
5670+
* Since 3.17.0
5671+
*/
5672+
public static val Decorator = 'decorator'
5673+
56635674
private new() {
56645675
}
56655676
}
@@ -6587,8 +6598,8 @@ class DocumentSymbol {
65876598

65886599
/**
65896600
* The range enclosing this symbol not including leading/trailing whitespace but everything else
6590-
* like comments. This information is typically used to determine if the clients cursor is
6591-
* inside the symbol to reveal in the symbol in the UI.
6601+
* like comments. This information is typically used to determine if the client's cursor is
6602+
* inside the symbol to reveal the symbol in the UI.
65926603
*/
65936604
@NonNull
65946605
Range range
@@ -8809,15 +8820,15 @@ class CallHierarchyItem {
88098820

88108821
/**
88118822
* The range enclosing this symbol not including leading/trailing whitespace but everything else
8812-
* like comments. This information is typically used to determine if the the clients cursor is
8813-
* inside the symbol to reveal in the symbol in the UI.
8823+
* like comments. This information is typically used to determine if the client's cursor is
8824+
* inside the symbol to reveal the symbol in the UI.
88148825
*/
88158826
@NonNull
88168827
Range range
88178828

88188829
/**
88198830
* The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
8820-
* Must be contained by the the {@link CallHierarchyItem#getRange range}.
8831+
* Must be contained by the {@link CallHierarchyItem#getRange range}.
88218832
*/
88228833
@NonNull
88238834
Range selectionRange

0 commit comments

Comments
 (0)