tabnine 更新了,启用 Advanced Completions 需要开启 inline 补全。 同时我还安装了 Copilot. 我还不想丢掉 IntelliCode 下拉框那样的提示。
为了让 GitHub Copilot, IntelliCode quicksuggestions, Tabnine Advanced Completions 可以同时使用,我做了如下配置:
{
"github.copilot.inlineSuggest.enable": false,
"editor.suggest.preview": true,
"editor.inlineSuggest.enabled": true
}
也就是
- 关掉 Copilot 的 inline, 如果要用 copilot 就按 ctrl + enter 打开侧栏
- 允许 vscode 自动显示 inline 建议
- 用 inline 预览 intellicode 建议
最后的效果就是这样的:
