NiGhTTraX / ts-monorepo

Template for setting up a TypeScript monorepo
MIT License
1.5k stars 169 forks source link

How to make find all references working? #304

Closed remvn closed 1 year ago

remvn commented 1 year ago

Auto-import and go to definition work fine for me, but I couldn't find a way to make find all references work. Renaming will not work either image

no reference on this file image

NiGhTTraX commented 1 year ago

Hmm, it does seem like VS Code 1.74.2 doesn't find references correctly. After opening some files where that export is used, VS Code starts showing them up:

image

Maybe you could let the team at https://github.com/microsoft/vscode know about this?


For reference (pun intended) WebStorm/IntelliJ work fine:

image
remvn commented 1 year ago

Thanks for your help.

I managed to fix this by add reference to root tsconfig

image

and some options in lib repo

image

Now it works as expected

image