Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Feature request: Assign to variable #493

Open
@jamesmahler

Description

@jamesmahler

Add code action for assigning selected statement to variable.

Example

println!("val: {}", 6);

highlight 6
ctrl .
assign to variable

let var = 6;
println!("val: {}", var);

with a rename box up for var.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIndicates new feature requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions