Skip to content

Add rust-format-region function #210

Open
@fintelia

Description

@fintelia

It would be nice if rust-mode allowed formatting only specific lines of a file, analogously to clang-format's clang-format-region.

The necessary support to format only certain parts of a file is already present upstream in rustfmt by using the file_lines command line argument.

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