javascript - 如何在 VS Code 中对自动建议进行排序(智能感知)?

标签 javascript visual-studio-code intellisense autosuggest

我使用VS Code用于日常工作,但自动建议“随机”放置在列表中有点令人恼火,如下面的 .gif 所示。

顶部显示来自 Reactjs code snippets片段插件和本例中最重要的 props 显示在列表底部,我的意思是:

children
exact
from
key
path 
// etc

有没有办法配置 VS Code 以特定顺序显示自动建议?

我发现 VS Code 有 snippetSuggestions 的特定属性但从我的设置来看,这没有帮助:

"editor.snippetSuggestions": "top",

GIF which shows the problem

操作系统、版本

vs code 1.14.2
macOS 10.12.5

最佳答案

在设置中,尝试:

{
  "editor.snippetSuggestions": "top"
}

关于javascript - 如何在 VS Code 中对自动建议进行排序(智能感知)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45417041/

相关文章:

javascript - 是否可以在 AppsScript 的脚本编辑器中使用自动完成功能来处理自定义类?

visual-studio-code - 从 WSL 中选择 Python 解释器

visual-studio-code - 使 Visual Studio Code 在干净状态下打开

javascript - 如何让 Visual Studio Intellisense 显示 javascript 回调中的属性?

c# - 没有扩展方法的智能感知

javascript - 脚本只运行一次

javascript - 仅当 xhr.onloadend 之前触发时才解决 promise

JavaScript/<文本区域>

python - Visual Studio Code - 如何向 python 路径添加多个路径?

C# 智能感知对于采用动态参数的方法不正确