diff options
Diffstat (limited to 'src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionManager.cs')
-rw-r--r-- | src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionManager.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionManager.cs b/src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionManager.cs new file mode 100644 index 0000000..077b20b --- /dev/null +++ b/src/Editor/Text/Def/TextUICocoa/Snippet/IExpansionManager.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.Collections.Generic; +using Microsoft.VisualStudio.Utilities; + +namespace Microsoft.VisualStudio.Text.Editor.Expansion +{ + public interface IExpansionManager + { + IEnumerable<ExpansionTemplate> EnumerateExpansions(IContentType contentType, bool shortcutOnly, string[] snippetTypes, bool includeNullType, bool includeDuplicates); + ExpansionTemplate GetTemplateByName(IExpansionClient expansionClient, IContentType contentType, string name, string filePath, ITextView textView, SnapshotSpan span, bool showDisambiguationUI); + ExpansionTemplate GetTemplateByShortcut(IExpansionClient expansionClient, string shortcut, IContentType contentType, ITextView textView, SnapshotSpan span, bool showDisambiguationUI); + } +} |