How to Make Code Lens Work with CommonJS Modules? #963
Unanswered
bbergeron0
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that Code Lens features like "Find References" don't work across CommonJS modules - at least not out of the box. (Tested on both VSCode and Emacs, across more projects than I can remember.) I'm surprised this isn't discussed more often, considering how many projects still use CommonJS exports - most of them legacy codebases that need exactly these kinds of tools.
Am I missing some holy-grail configuration option to enable this feature, or is Code Lens simply not made to work with CommonJS
exports
andrequire
statements?Beta Was this translation helpful? Give feedback.
All reactions