Skip to content

Better code refactoring with regards to relative import paths #46462

@MarvinHannott

Description

@MarvinHannott

When you decide to split a library into multiple files and move them into a new sub-directory to better structure your code, you face the problem of relative import paths; you have to edit every single import regarding the moved library.
It would be convenient if there were a solution for this like Rust's mod files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-refactoringIssues with analysis server refactoringstype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions