Workspace with TS packages: Go to references IDE command is simply not working #9802
Unanswered
baptisteArno
asked this question in
Help
Replies: 3 comments 3 replies
-
Hey, this does look like an interesting edge case. A few thoughts:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Also, my guess is that it does not only affect "Go to references" but this should also impact every code action like renaming, auto update import path when moving file etc... |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried with WebStorm IDE, it works perfectly. Most likely because they load in memory all the packages. Which I am OK with so I wish VSCode would offer that option 🤔 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I found that since Turborepo advises not to use typescript references and not to have a root tsconfig, tsserver can't know about package references. So if I open my project on VSCode and try to see all the references of a function, it won't list anything until the referenced project is opened.
I am wondering what are your thoughts on this, can the DX be improved in some ways that I am not aware of?
CleanShot.2025-01-25.at.11.48.48.mp4
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions