Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 5ee6f47

Browse files
committed
Merge branch 'feature/v3_7_2'
2 parents 30b5310 + cfd548b commit 5ee6f47

3 files changed

Lines changed: 20 additions & 2 deletions

File tree

LanguageServer/Parameters/General/CompletionItemCapabilities.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// <summary>
44
/// For <c>initialize</c>
55
/// </summary>
6-
/// <seealso>Spec 3.3.0</seealso>
6+
/// <seealso>Spec 3.7.2</seealso>
77
public class CompletionItemCapabilities
88
{
99
/// <summary>
@@ -34,5 +34,10 @@ public class CompletionItemCapabilities
3434
/// <seealso cref="LanguageServer.Parameters.MarkupKind"/>
3535
public string[] documentationFormat { get; set; }
3636

37+
/// <summary>
38+
/// Client supports the deprecated property on a completion item.
39+
/// </summary>
40+
/// <seealso>Spec 3.7.2</seealso>
41+
public bool? deprecatedSupport { get; set; }
3742
}
3843
}

LanguageServer/Parameters/SymbolInformation.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace LanguageServer.Parameters
77
/// <summary>
88
/// For <c>textDocument/documentSymbol</c> and <c>workspace/symbol</c>
99
/// </summary>
10+
/// <seealso>Spec 3.7.2</seealso>
1011
public class SymbolInformation
1112
{
1213
/// <summary>
@@ -19,6 +20,12 @@ public class SymbolInformation
1920
/// </summary>
2021
public SymbolKind kind { get; set; }
2122

23+
/// <summary>
24+
/// Indicates if this symbol is deprecated.
25+
/// </summary>
26+
/// <seealso>Spec 3.7.2</seealso>
27+
public bool? deprecated { get; set; }
28+
2229
/// <summary>
2330
/// The location of this symbol.
2431
/// </summary>

LanguageServer/Parameters/TextDocument/CompletionItem.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace LanguageServer.Parameters.TextDocument
77
/// <summary>
88
/// For <c>textDocument/completion</c> and <c>completionItem/resolve</c>
99
/// </summary>
10-
/// <seealso>Spec 3.3.0</seealso>
10+
/// <seealso>Spec 3.7.2</seealso>
1111
public class CompletionItem
1212
{
1313
/// <summary>
@@ -32,6 +32,12 @@ public class CompletionItem
3232
/// <seealso>Spec 3.3.0</seealso>
3333
public Documentation documentation { get; set; }
3434

35+
/// <summary>
36+
/// Indicates if this item is deprecated.
37+
/// </summary>
38+
/// <seealso>Spec 3.7.2</seealso>
39+
public bool? deprecated { get; set; }
40+
3541
/// <summary>
3642
/// A string that should be used when comparing this item with other items.
3743
/// </summary>

0 commit comments

Comments
 (0)