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
wilsonlewisOP2mo 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
nooneelse3w ago
I'm having the same problem in vscode atm.
wilsonlewis
wilsonlewisOP2w ago
The VSCode "typescript" is a seperate codelens to "deno typescript". You have to enable the deno specific codelens

Did you find this page helpful?