wilsonlewis
wilsonlewis2mo ago

VSCode not tracking references

Not sure if I am doing something wrong but VSCode is not tracking references properly, which is making it difficult to "goto" code and/or remove dead code. I have tried restarting everything (including my computer) to try and reset everything, but nothing has worked For reference, I am using "asdf" to install different versions of Deno, but it is seeing the correct version indicated in the bottom right corner. Not sure if this would effect anything though... You can see in the attached screenshot that the "cacheForever" function has "0 references" even though it is used above. Also, the "serve" function is being referenced outside this file Thanks!
No description
3 Replies
wilsonlewis
wilsonlewisOP4w ago
Hey, I have tried everything but I am still getting 0 references in codelens. Anyone have any ideas on what this might be?
nooneelse
nooneelse2w ago
I'm having the same problem in vscode atm.
wilsonlewis
wilsonlewisOP17h ago
The VSCode "typescript" is a seperate codelens to "deno typescript". You have to enable the deno specific codelens