This repository was archived by the owner on Dec 22, 2021. It is now read-only.
File tree 2 files changed +18
-2
lines changed
LanguageServer/Parameters
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 3
3
/// <summary>
4
4
/// For <c>initialize</c>
5
5
/// </summary>
6
- /// <seealso>Spec 3.7.2 </seealso>
6
+ /// <seealso>Spec 3.9.0 </seealso>
7
7
public class CompletionItemCapabilities
8
8
{
9
9
/// <summary>
@@ -39,5 +39,11 @@ public class CompletionItemCapabilities
39
39
/// </summary>
40
40
/// <seealso>Spec 3.7.2</seealso>
41
41
public bool ? deprecatedSupport { get ; set ; }
42
+
43
+ /// <summary>
44
+ /// Client supports the preselect property on a completion item.
45
+ /// </summary>
46
+ /// <seealso>Spec 3.9.0</seealso>
47
+ public bool ? preselectSupport { get ; set ; }
42
48
}
43
49
}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace LanguageServer.Parameters.TextDocument
7
7
/// <summary>
8
8
/// For <c>textDocument/completion</c> and <c>completionItem/resolve</c>
9
9
/// </summary>
10
- /// <seealso>Spec 3.7.2 </seealso>
10
+ /// <seealso>Spec 3.9.0 </seealso>
11
11
public class CompletionItem
12
12
{
13
13
/// <summary>
@@ -38,6 +38,16 @@ public class CompletionItem
38
38
/// <seealso>Spec 3.7.2</seealso>
39
39
public bool ? deprecated { get ; set ; }
40
40
41
+ /// <summary>
42
+ /// Select this item when showing.
43
+ /// </summary>
44
+ /// <remarks>
45
+ /// Note that only one completion item can be selected and that the tool / client decides which item that is.
46
+ /// The rule is that the <b>first</b> item of those that match best is selected.
47
+ /// </remarks>
48
+ /// <seealso>Spec 3.9.0</seealso>
49
+ public bool ? preselect { get ; set ; }
50
+
41
51
/// <summary>
42
52
/// A string that should be used when comparing this item with other items.
43
53
/// </summary>
You can’t perform that action at this time.
0 commit comments