Skip to content

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

@Tiedye

Description

@Tiedye

🔎 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Working as IntendedThe behavior described is the intended behavior; this is not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions