Skip to content

Auto-complete and auto-import multi-segment path #1062

@pcpthm

Description

@pcpthm

One of the most convenient features I'm missing for the IDE experience is ability to import any name as I type.

fn main() {
    stdi<|>
}

to

use std::io::stdin;

fn main() {
    stdin()<|>
}

Requirements:

  • Names which are in the scope should be prioritized (shown above in the completion list) over names not in the scope.
  • If multiple paths corresponds to an item, completion result shouldn't be duplicated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions