github / github/copilot.vim

Question: Can we suggest one line at a time

Ouverte
#279 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Vim Script
Étoiles
11.7k
Forks
810
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.