Joe*_*min 3 javascript visual-studio-code monaco-editor
我找不到任何有关如何添加内联自动完成功能的示例,如下图所示?有人可以指导我如何在摩纳哥做到这一点吗?
这可以在 v1.66 中启用(现在在 Insiders 中):
该
editor.quickSuggestions设置现在接受内联作为配置值。设置为内联时,快速建议 (IntelliSense) 在您键入时不会显示建议小部件,而是将补全显示为幻影文本。
在您的设置中:
"editor.quickSuggestions": {
"other": "inline", // the `inline` value is new
"comments": true,
"strings": true
}
Run Code Online (Sandbox Code Playgroud)
通过此设置,建议将内嵌显示,而不是弹出窗口。
| 归档时间: |
|
| 查看次数: |
3327 次 |
| 最近记录: |