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

Organize imports remove imports in usage #48346

Closed
BnayaZil opened this issue Apr 22, 2018 · 2 comments
Closed

Organize imports remove imports in usage #48346

BnayaZil opened this issue Apr 22, 2018 · 2 comments
Assignees
Labels
javascript JavaScript support issues

Comments

@BnayaZil
Copy link

Organize imports seems to remove imports that using {foo as bar} pattern.

  • VSCode Version: 1.22.2
  • OS Version: Ubuntu 17.10 (artful)

Steps to Reproduce:

  1. Add to your code import {pick as foo} from 'lodash'
  2. Trigger "Organize imports"
  3. This import removed

I guess I can contribute a fix but I need to know it's a bug and not a feature 😉

@vscodebot
Copy link

vscodebot bot commented Apr 22, 2018

@vscodebot vscodebot bot added the javascript JavaScript support issues label Apr 22, 2018
@BnayaZil
Copy link
Author

Duplication of #47310

@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

2 participants