diff options
Diffstat (limited to 'src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionService.cs')
-rw-r--r-- | src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionService.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionService.cs b/src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionService.cs new file mode 100644 index 0000000..193edf5 --- /dev/null +++ b/src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionService.cs @@ -0,0 +1,18 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// + +using System; +using System.Threading; +using Microsoft.VisualStudio.Utilities; + +namespace Microsoft.VisualStudio.Text.Editor.Expansion +{ + public interface IExpansionService + { + IExpansionSession InsertExpansion(SnapshotSpan triggerSpan, IExpansionClient expansionClient, IContentType contentType, CancellationToken cancellationToken = default); + IExpansionSession InsertNamedExpansion(string title, string pszPath, SnapshotSpan triggerSpan, IExpansionClient expansionClient, IContentType contentType, bool showDisambiguationUI); + void InvokeInsertionUI(IExpansionClient expansionClient, IContentType contentType, string[] types, bool includeNullType, string[] kinds, bool includeNullKind, string prefixText, string completionChar); + } +} |