microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101.21k stars 12.51k forks source link

language services: If tsconfig.json under the ConguredProject project ignores some files, such as d.ts, opening these d.ts will create a new InferredProject. Is it designed like this? #60535

Open schizobulia opened 5 days ago

schizobulia commented 5 days ago

🔎 Search Terms

If tsconfig.json under the ConguredProject project ignores some files, such as d.ts, opening these d.ts will create a new InferredProject. Is it designed like this?

🕗 Version & Regression Information

version: 5.6.3

⏯ Playground Link

No response

💻 Code

// Your code here

🙁 Actual behavior

The two project paths are the same, but the ProjectKind is different

🙂 Expected behavior

Expect not to create a new project

Additional information about the issue

No response