github / github/copilot.vim

Question: Can we suggest one line at a time

未关闭
#279 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Vim Script
星标
11.7k
派生
810
PR 合并指标
30 天内没有已合并 PR

描述

Is / are there setting(s) that make Copilot only suggest a line at at time? I have a hacky config that achieves this but even then it doesn't do what I would prefer which is only ghost inline whatever completion lands on the current line number I am on, even if it may be incomplete.
I.e.

variable I want to write:
```rust
let foo = bar
.moo
.baz
.ok_or_else(|| format!("hello"))
.await;
```

What I want Copilot to do:
```rust
let foo = bar
.moo
// .baz <---- cursor is here, copilot only suggests the completion of baz instead of entire variable
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。