Open ChristianKohler opened 7 years ago
It'll probably be a bit difficult to get the exports for a module. The file might contain flow/typescript/jsx etc which makes it difficult for NpmIntellisense to parse. A solution might be to look for babel locally and parse the file.
Another thing, my implementation also included local modules in addition to those in node_modules
.
I added support for local modules with 1.1.0 but forgot to update the documentation. Fixed that with 1.2.1. See: https://github.com/ChristianKohler/NpmIntellisense#show-build-in-local-libs
Sorry for the late reaction! What I meant was local (or relative) modules/files such as ./app/foo/index.js, not built-in modules like fs and path. Do you have plans to support that?
@dgieselaar is this what you are looking for? I believe there is already an extension for that: https://github.com/ChristianKohler/PathIntellisense
@yaas-dev yeah, maybe! This is pretty long ago, I'm not sure what existed at that point. I'm not using the extension anymore either. Appreciate the update though!
This is thread to collect ideas on how quickpick can be improved.
Some ideas: