improve the responsiveness of the class name completion UI #383