问题描述
通常当我在 VSCode 编辑器中输入时,智能感知会显示输入查询的所有可能建议.
但是,现在当我输入时,只显示了一个与查询最匹配的建议.
例如,当我输入 b
时,智能感知只显示对 HTML <b>
元素的建议 - 而不是 list 包括诸如 之类的标签的建议.
有什么办法可以改变吗?我在网上搜索了很多,但找不到任何帮助.
VS Code 1.51
请注意,您始终可以使用箭头键浏览建议,即使只有一个建议可见.使用它来检查小部件是否太小或者是否真的只有一个建议
Normally when I used to type in my VSCode editor, the intellisense showed all the possible suggestions for the entered query.
However, now as I type, only one suggestion is shown that best matches the query.
For instance, when I type in b
, the intellisense just shows a suggestion for the HTML <b>
element — not a list of suggestions including tags such as <button>
.
Is there any way to change this? I have searched a lot of the net but couldn't find any sort of help.
VS Code 1.51 made the list of suggestions resizable so it's possible your suggest widget is simply shrunken down to be a single line high.
To fix this, trigger suggestions and then click and drag at the bottom edge of the suggest widget to increase the number of visible suggestions.
Note that you can always use the arrow keys to navigate through suggestions, even if only one suggestion is visible. Use this to check if the widget is simply too small or if there really is only one suggestion
这篇关于Visual Studio Code 智能感知随时显示一个建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!