问题
Is there a way to check if the currently active window has IntelliSense popup open in a Visual Studio Extension?
I want to abort the TextChanged event handler execution if IntelliSense is open.
回答1:
You can call Microsoft.VisualStudio.Language.Intellisense.ICompletionBroker.IsCompletionActive(textView);
来源:https://stackoverflow.com/questions/57000759/is-there-a-way-to-check-if-the-active-window-has-intellisense-popup-open