Posted 8 years ago by Nicu
Version: 14.1.0323
Avatar

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 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.