Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to allow for running of perlimports #44

Open
WhoIsSethDaniel opened this issue Jun 30, 2021 · 2 comments
Open

Option to allow for running of perlimports #44

WhoIsSethDaniel opened this issue Jun 30, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@WhoIsSethDaniel
Copy link
Contributor

For reference:
perlimports: https://metacpan.org/dist/App-perlimports
video about it: https://youtu.be/fKqxdTbGxYY

One thing I really like about programming in Go is that gopls can be configured to run goimports. This automatically adds imports being used to the import section (and also sorts and organizes imports). perlimports can do something very similar for perl as goimports does for Go.

I realize you already have module sorting so maybe this will interfere with your tastes there, but the ability to automatically clean up and 'use' (or remove an unused 'use'), to me, can be a real time saver.

I'm proposing an option, similar to how perltidy integration works, that allows for the running of perlimports.

@FractalBoy
Copy link
Owner

That seems interesting. If you wanted to submit a merge request to add this, I would take a look at it.

@WhoIsSethDaniel
Copy link
Contributor Author

I will see what I can do.

@FractalBoy FractalBoy added the enhancement New feature or request label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants