Question

Go To Definition.

Posted 3 years ago by Avatar Nicu

How I can get text from tooltip ? Ex(when hover method name is showing void Test()) ? 
I need this for implementing Go To Definition functionality.

Thanks.


Comments (1)

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA

Hello,

I assume you are using our .NET Languages Add-on here?  This sort of code should allow you to get the quick info markup programmatically:

var context = language.GetContext(syntaxEditor, offset, false, false);
if (context.ProjectResolver != null)
	return context.ProjectResolver.GetQuickInfo(DotNetLanguage.CSharp, context);

Actipro Software Support
Information The latest build of this product (2018.1 build 0340) was released 4 months ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.