Skip to content

Autoimport always imports relative to baseUrl #19920

Description

@mjbvz

From Maksim Popov (@artaommahe) on November 9, 2017 11:38

  • VSCode Version: 1.18.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. ts project with provided baseUrl
  2. add autoimport for smth from same directories sub-tree
  3. see baseUrl relative import
/// auth/routing.ts
import {MobileStubComponent} from "auth/component/mobile-stub/mobile-stub";

expected import relative to current file

import {MobileStubComponent} from "./component/mobile-stub/mobile-stub";

Reproduces without extensions: Yes

Copied from original issue: microsoft/vscode#37928

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions