TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

tsserver go to definition doesn't work as expected when `disableSourceOfProjectReferenceRedirect` is enabled

Open Tiedye opened this issue 9 months ago • 0 comments

🔎 Search Terms

"disableSourceOfProjectReferenceRedirect", "project references"

🕗 Version & Regression Information

  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about project references and disableSourceOfProjectReferenceRedirect

⏯ Playground Link

https://github.com/Tiedye/ts-61449

💻 Code

No response

🙁 Actual behavior

Go to definition directs to the compiled d.ts

🙂 Expected behavior

Go to definition should go to the source files

Additional information about the issue

I need to use disableSourceOfProjectReferenceRedirect in my project as it takes a couple seconds to compile some of the projects, and tsserver doesn't seem to cache those results so every time I ask for autocompetion there is a 5 second delay. With this option there is no delay

Tiedye avatar Mar 19 '25 21:03 Tiedye