Posted 4 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 4 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 (v2018.1 build 0341) was released 10 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.