File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
- namespace OmniSharp . Extensions . LanguageServer . Protocol . Models
1
+ namespace OmniSharp . Extensions . LanguageServer . Protocol . Models
2
2
{
3
3
public interface ICompletionOptions
4
4
{
5
5
bool ResolveProvider { get ; set ; }
6
6
Container < string > TriggerCharacters { get ; set ; }
7
+ Container < string > AllCommitCharacters { get ; set ; }
7
8
}
8
9
}
Original file line number Diff line number Diff line change @@ -23,10 +23,20 @@ public class CompletionOptions : ICompletionOptions
23
23
[ Optional ]
24
24
public Container < string > TriggerCharacters { get ; set ; }
25
25
26
+ /// <summary>
27
+ /// The list of all possible characters that commit a completion. This field can be used
28
+ /// if clients don't support individual commit characters per completion item. See
29
+ /// `ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport`
30
+ ///
31
+ /// Since 3.2.0
32
+ [ Optional ]
33
+ public Container < string > AllCommitCharacters { get ; set ; }
34
+
26
35
public static CompletionOptions Of ( ICompletionOptions options )
27
36
{
28
37
return new CompletionOptions ( )
29
38
{
39
+ AllCommitCharacters = options . AllCommitCharacters ,
30
40
ResolveProvider = options . ResolveProvider ,
31
41
TriggerCharacters = options . TriggerCharacters
32
42
} ;
You can’t perform that action at this time.
0 commit comments