Vscode Typescript Intellisense仅显示第一个选项? [英] Vscode Typescript Intellisense showing only first option?

查看:142
本文介绍了Vscode Typescript Intellisense仅显示第一个选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用React Native(TypeScript)应用,今天,突然之间(未更新未更改设置),我的Intellisense仅开始显示建议,无论如何:

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:

此问题并非特定于特定的类,我已经多次重新启动了Vscode(重新启动了TS语言服务器,从~/Library/Caches/删除了所有Vscode缓存(都是Code文件夹,而基本上所有以com.microsoft开头的内容),但无济于事.

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.

我如何摆脱它? (Vscode Insiders 1.51.0(该版本已经活跃使用了好几天,没有出现问题),TypeScript 4.0.5)

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)

推荐答案

在显示单个建议时,您是否有机会调整了窗口小部件的大小?你可以试试"F1"吗?重设建议的小部件尺寸"并检查小部件尺寸是否恢复正常?

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?

这篇关于Vscode Typescript Intellisense仅显示第一个选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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