public IntellisenseFilter2( FilteredRoslynCompletionSet completionSet, CompletionItemFilter filter, string language) : base(ImageMonikers.GetImageMoniker(filter.Tags, language), GetToolTip(filter), filter.AccessKey.ToString(), automationText: filter.Tags[0]) { _completionSet = completionSet; CompletionItemFilter = filter; }
private static string GetToolTip(CompletionItemFilter filter) { return filter.DisplayText + " (Alt+" + char.ToUpper(filter.AccessKey) + ")"; }