github / github/copilot.vim

Question: Can we suggest one line at a time

Offen
#279 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Vim Script
Sterne
11.7k
Forks
810
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.