/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/VisualBasic/Impl/Options/AutomationObject/AutomationObject.Completion.vb
82 строки
3 KB
Gen Lu
Add option for import completion commit behavior (#82916)
10 апр 2026, 03:26
Не верифицирован
10 апр 2026, 03:26
4d274cb
Код
Авторство
О чём код?
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports Microsoft.CodeAnalysis.Completion Imports Microsoft.CodeAnalysis.Completion.Providers Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.Options Partial Public Class AutomationObject Public Property Option_TriggerOnTypingLetters As Boolean Get Return GetBooleanOption(CompletionOptionsStorage.TriggerOnTypingLetters) End Get Set(value As Boolean) SetBooleanOption(CompletionOptionsStorage.TriggerOnTypingLetters, value) End Set End Property Public Property Option_HighlightMatchingPortionsOfCompletionListItems As Boolean Get Return GetBooleanOption(CompletionViewOptionsStorage.HighlightMatchingPortionsOfCompletionListItems) End Get Set(value As Boolean) SetBooleanOption(CompletionViewOptionsStorage.HighlightMatchingPortionsOfCompletionListItems, value) End Set End Property Public Property Option_EnterKeyBehavior As Integer Get Return GetOption(CompletionOptionsStorage.EnterKeyBehavior) End Get Set(value As Integer) SetOption(CompletionOptionsStorage.EnterKeyBehavior, DirectCast(value, EnterKeyRule)) End Set End Property Public Property Option_SnippetsBehavior As Integer Get Return GetOption(CompletionOptionsStorage.SnippetsBehavior) End Get Set(value As Integer) SetOption(CompletionOptionsStorage.SnippetsBehavior, DirectCast(value, SnippetsRule)) End Set End Property Public Property Option_ShowItemsFromUnimportedNamespaces As Integer Get Return GetBooleanOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces) End Get Set(value As Integer) SetBooleanOption(CompletionOptionsStorage.ShowItemsFromUnimportedNamespaces, value) End Set End Property Public Property Option_ImportCompletionOption As Integer Get Return GetOption(CompletionOptionsStorage.ImportCompletionCommitBehavior) End Get Set(value As Integer) SetOption(CompletionOptionsStorage.ImportCompletionCommitBehavior, DirectCast(value, ImportCompletionCommitBehavior)) End Set End Property Public Property Option_TriggerInArgumentLists As Boolean Get Return GetBooleanOption(CompletionOptionsStorage.TriggerInArgumentLists) End Get Set(value As Boolean) SetBooleanOption(CompletionOptionsStorage.TriggerInArgumentLists, value) End Set End Property Public Property Option_EnableArgumentCompletionSnippets As Integer Get Return GetBooleanOption(CompletionViewOptionsStorage.EnableArgumentCompletionSnippets) End Get Set(value As Integer) SetBooleanOption(CompletionViewOptionsStorage.EnableArgumentCompletionSnippets, value) End Set End Property End Class End Namespace