@@ -12,6 +12,7 @@ internal static class CSharpCompletionOptions
...
@@ -12,6 +12,7 @@ internal static class CSharpCompletionOptions
[Obsolete("This option is superceded by CompletionOptions.EnterKeyBehavior")]
[Obsolete("This option is superceded by CompletionOptions.EnterKeyBehavior")]
publicstaticreadonlyOption<bool>AddNewLineOnEnterAfterFullyTypedWord=newOption<bool>(FeatureName,"Add New Line On Enter After Fully Typed Word",defaultValue:false);
publicstaticreadonlyOption<bool>AddNewLineOnEnterAfterFullyTypedWord=newOption<bool>(FeatureName,"Add New Line On Enter After Fully Typed Word",defaultValue:false);
[Obsolete("This option is superceded by CompletionOptions.SnippetsBehavior")]
@@ -52,35 +59,57 @@ public sealed class CompletionRules
...
@@ -52,35 +59,57 @@ public sealed class CompletionRules
/// <param name="dismissIfLastCharacterDeleted">True if the list should be dismissed when the user deletes the last character in the span.</param>
/// <param name="dismissIfLastCharacterDeleted">True if the list should be dismissed when the user deletes the last character in the span.</param>
/// <param name="defaultCommitCharacters">The default set of typed characters that cause the selected item to be committed.</param>
/// <param name="defaultCommitCharacters">The default set of typed characters that cause the selected item to be committed.</param>
/// <param name="defaultEnterKeyRule">The default rule that determines if the enter key is passed through to the editor after the selected item has been committed.</param>
/// <param name="defaultEnterKeyRule">The default rule that determines if the enter key is passed through to the editor after the selected item has been committed.</param>
/// Creates a new <see cref="CompletionRules"/> instance.
/// </summary>
/// <param name="dismissIfEmpty">True if the completion list should be dismissed if the user's typing causes it to filter and display no items.</param>
/// <param name="dismissIfLastCharacterDeleted">True if the list should be dismissed when the user deletes the last character in the span.</param>
/// <param name="defaultCommitCharacters">The default set of typed characters that cause the selected item to be committed.</param>
/// <param name="defaultEnterKeyRule">The default rule that determines if the enter key is passed through to the editor after the selected item has been committed.</param>
/// <param name="snippetsRule">The rule that controls snippets behavior.</param>