Skip to content

TS Server confusing files in monorepo with same package id due to multiple package.jsons with same name #51976

@FlandreDaisuki

Description

@FlandreDaisuki

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

  • VS Code Version:
Version: 1.74.0 (Universal)
Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
Date: 2022-12-05T16:43:37.594Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Darwin x64 20.6.0
版本: 1.74.1
提交: 1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a
日期: 2022-12-14T10:35:03.979Z
電子: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
作業系統: Linux x64 5.4.0-135-generic
Sandboxed: No
  • OS Version: MacOS BigSur 11.7, Linux Mint 20.1

Steps to Reproduce:

  1. Clone the reproduce repository and install volar
  2. Run Volar (Debug): Write Virtual Files command
  3. Disable Volar Extension in the workspace and reload vscode (or just open by code --disable-extensions)
  4. Inspect src/Hello/World/World.vue.js & src/Bye/World/World.vue.js

There is a simple video to describe the issue:
https://raw.githubusercontent.com/FlandreDaisuki/reproduce-volar-syntax-highlight-bug/master/demo.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Design LimitationConstraints of the existing architecture prevent this from being fixed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions