protected override Action <ITextControl> ExecutePsiTransaction(ISolution solution, IProgressIndicator progress) { var node = _reference.GetTreeNode(); var markupAttribute = node.Parent as IMarkupAttribute; markupAttribute?.SetStringValue($"{_reference.GetName()}.Value"); return(null); }
private static string CreateTooltip(IMarkupPropertyReference reference) { var languageType = ReferenceUtil.GetProjectLanguage(reference.GetTreeNode()); if (languageType.IsNullOrUnknown()) { return($"Cannot resolve symbol '{reference.GetName()}'"); } return(string.Format(Message, reference.GetName())); }