github / github/copilot.vim

Question: Can we suggest one line at a time

Aperta
#279 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Vim Script
Stelle
11.7k
Fork
810
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.