Skip to content

VSCode not respects the TSConfig & npm exports rules #50595

@dalisoft

Description

@dalisoft

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

  • VS Code Version: v1.70.2
  • OS Version: macOS 11.6.8 (20G730)

Steps to Reproduce:

  1. Clone https://github.com/dalisoft/vscode-workspace-bug
  2. Open backend folder inside this workspace (not *.code-workspace file)
  3. Try to import getUserId with IntelliSense

Excepted

import { getUserId } from "@shared/api/auth"

Actual

import { getUserId } from "@shared/api/src/auth"

Note

  • This rule respects WebStorm and works their Smart IDE function fine with imports (hover info) and etc pluses, so cause bug only related to VSCode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions