Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Remove duplicate imports #62

Open
chshersh opened this issue Nov 2, 2018 · 0 comments
Open

Remove duplicate imports #62

chshersh opened this issue Nov 2, 2018 · 0 comments
Labels
purify Clean import section by removing unused imports

Comments

@chshersh
Copy link
Contributor

chshersh commented Nov 2, 2018

Simpler version of #41 issue. Consider the following situation:

import App.Db (WithDb, query)
import App.Db (WithDb, execute)

It would be really good if smuggler can group modules with same names with join their import lists, like in the following snippet:

import App.Db (WithDb, execute, query)

Such situation often happen after resolving conflicts when rebasing over some branch. If such feature is implemented, then people will be able to just remove >>>>> git markers and smuggler will compress imports for them.

@chshersh chshersh added the purify Clean import section by removing unused imports label Nov 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
purify Clean import section by removing unused imports
Projects
None yet
Development

No branches or pull requests

1 participant