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

vscode struggles to auto-import lodash #63239

Closed
tnrich opened this issue Nov 15, 2018 · 8 comments
Closed

vscode struggles to auto-import lodash #63239

tnrich opened this issue Nov 15, 2018 · 8 comments
Assignees
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@tnrich
Copy link

tnrich commented Nov 15, 2018

Hey there, does anyone know why vscode struggles to auto-import lodash modules?

image

Here I'm looking for lodash's array.compact method, but while recompose has an auto-import suggested, lodash's auto-import doesn't seem to want to show up:

I've opened this same issue on lodash's repo and @jdalton wasn't sure why lodash's auto-import isn't working in vscode.

lodash/lodash#4062

Thanks!

@vscodebot
Copy link

vscodebot bot commented Nov 15, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the javascript JavaScript support issues label Nov 15, 2018
@tnrich
Copy link
Author

tnrich commented Nov 15, 2018

@vscodebot thanks but I don't think either of those issues are the same as mine.

@joseph1125
Copy link

Is this project a typescript project or JavaScript project?

@tnrich
Copy link
Author

tnrich commented Nov 16, 2018

Javascript

@joseph1125
Copy link

joseph1125 commented Nov 16, 2018 via email

@tnrich
Copy link
Author

tnrich commented Nov 16, 2018

Yes, but I can try again. This issue is across multiple repos. I've not seen lodash work for auto-import.

@nhardy
Copy link

nhardy commented Nov 16, 2018

I also experience this with TypeScript projects.

@mjbvz
Copy link
Contributor

mjbvz commented Dec 15, 2018

Opened microsoft/TypeScript#29039 to track this upstream

@mjbvz mjbvz closed this as completed Dec 15, 2018
@mjbvz mjbvz added the upstream Issue identified as 'upstream' component related (exists outside of VS Code) label Dec 15, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants