Vscode Typescript Intellisense showing only first option?

佐手、 提交于 2020-12-03 10:25:23

问题


I'm working on my React Native (TypeScript) app and today, all of a sudden (nothing updated, no settings changed) my Intellisense started showing only first suggestion, no matter what:

This problem is not specific to a particular class, and I've restarted Vscode multiple times (restarted TS language server, deleted all Vscode caches from ~/Library/Caches/ (both Code folder and everything that starts with com.microsoft basically) but no avail.

How can I get rid of it? (Vscode Insiders 1.51.0 (which has been this same version for quite a few days of active use without the problem), TypeScript 4.0.5)


回答1:


Did you by any chance resize the widget while it was showing a single suggestion? Can you try "F1 > Reset Suggest Widget Size" and check if the widget size is back to normal?



来源:https://stackoverflow.com/questions/64633862/vscode-typescript-intellisense-showing-only-first-option

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!