Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Question: Can we suggest one line at a time #279

@cachebag

Description

@cachebag

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:

let foo = bar
    .moo
    .baz
    .ok_or_else(|| format!("hello"))
    .await;

What I want Copilot to do:

let foo = bar
    .moo
 // .baz    <---- cursor is here, copilot only suggests the completion of baz instead of entire variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions