Vscode: Import suggesting relative paths for node modules imports

Created on 11 Jul 2018  路  2Comments  路  Source: microsoft/vscode

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: 0f080e5267e829de46638128001aeb7ca2d6d50e
    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

javascript

Most helpful comment

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

All 2 comments

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

philipgiuliani picture philipgiuliani  路  3Comments

trstringer picture trstringer  路  3Comments

VitorLuizC picture VitorLuizC  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

sirius1024 picture sirius1024  路  3Comments