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

Autoimport always imports relative paths #54187

Closed
sharpcoder28 opened this issue Jul 12, 2018 · 2 comments
Closed

Autoimport always imports relative paths #54187

sharpcoder28 opened this issue Jul 12, 2018 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues

Comments

@sharpcoder28
Copy link

With the June 1.25 version, imports now are full relative paths.

import { Observable } from '../../../../node_modules/rxjs';

I tried adding

"typescript.preferences.importModuleSpecifier": "non-relative"

which did not work.

@vscodebot vscodebot bot added the javascript JavaScript support issues label Jul 12, 2018
@vscodebot
Copy link

vscodebot bot commented Jul 12, 2018

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

@mjbvz
Copy link
Contributor

mjbvz commented Jul 12, 2018

Duplicate of #53597

Fixed in VS Code insiders and if you upgrade to to use TypeScript 3.0 in your workspace (or downgrade to use TS 2.9.1)

@mjbvz mjbvz closed this as completed Jul 12, 2018
@mjbvz mjbvz added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 12, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) javascript JavaScript support issues
Projects
None yet
Development

No branches or pull requests

2 participants