Skip to content

Option to auto import with a relative path #14457

@SamVerschueren

Description

@SamVerschueren

TypeScript Version: 2.2.0

Expected behavior:
Instead of auto-importing local files absolute starting from the root of the project, it should auto-import relatively to the file. I personally never saw someone importing their files with an absolute path.

Actual behavior:
When I auto-import a local file, it will import that file starting from the root of my project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Quick FixesEditor-provided fixes, often called code actions.FixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions