有没有办法检查活动窗口是否打开了IntelliSense弹出窗口? [英] Is there a way to check if the active window has IntelliSense popup open?

查看:62
本文介绍了有没有办法检查活动窗口是否打开了IntelliSense弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以检查当前活动的窗口是否在Visual Studio扩展中打开了IntelliSense弹出窗口?

Is there a way to check if the currently active window has IntelliSense popup open in a Visual Studio Extension?

如果要打开IntelliSense,我想中止TextChanged事件处理程序的执行.

I want to abort the TextChanged event handler execution if IntelliSense is open.

推荐答案

您可以调用Microsoft.VisualStudio.Language.Intellisense.ICompletionBroker.

You can call Microsoft.VisualStudio.Language.Intellisense.ICompletionBroker.IsCompletionActive(textView);

这篇关于有没有办法检查活动窗口是否打开了IntelliSense弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆