Skip to content

feature request: Promote / Downgrade module #10143

@longfangsong

Description

@longfangsong

IntelliJ's Rust plugin supports:

  • Promote Module to directory, which means make a .rs file module into a directory style module with the same name.
  • Downgrade Module to file, which means make a directory style module with only a mod.rs inside into a file module.

I use these feature a lot, but when migrating to vscode and rust-analyzer, I found there're no such things.

So is it possible for rust-analyzer to support these?

(I'd love to have a try to implment this feature if you think this is a good idea.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-assistsS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions