How can I close the hint widget?


#1

I am working on an IntelliSense functionality. Working great so far… just one thingy left. How can I close the hint widget dropdown? When some condition is true for example typing inside a comment or string literal I want to temporary disable and close any currently visible widget.dropdown.


#2

I think the best way to do that is to make sure your hint function doesn’t return anything when this condition is true.