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

Import suggesting relative paths for node modules imports #54067

Closed
rwmb opened this issue Jul 11, 2018 · 2 comments
Closed

Import suggesting relative paths for node modules imports #54067

rwmb opened this issue Jul 11, 2018 · 2 comments
Assignees
Labels
javascript JavaScript support issues

Comments

@rwmb
Copy link

rwmb commented Jul 11, 2018

VSCode imports are suggesting relative paths instead of absolute ones, as it was before the last update, with everything being the same as it is right now in my project. I updated and now suggestions are messed up.

  • VSCode Version:
    Version: 1.25.0
    Commit: 0f080e5
    Date: 2018-07-05T13:11:58.697Z
    Electron: 1.7.12
    Chrome: 58.0.3029.110
    Node.js: 7.9.0
    V8: 5.8.283.38
    Architecture: x64
  • OS Version: Win10

Steps to Reproduce:

  1. Try to import any node_modules module with QuickFix (Ctrl+.) or Auto Import
    wrong-import-suggestion

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Jul 11, 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 Jul 11, 2018
@rwmb
Copy link
Author

rwmb commented Jul 11, 2018

With the suggestion of the bot for duplicates I found this comment with a workaround until the issue gets resolved.

@rwmb rwmb closed this as completed Jul 11, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 25, 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