jasonnutter / vscode-search-node-modules

Simple plugin for VS Code that allows you to quickly navigate the file inside your project's node_modules directory.
https://marketplace.visualstudio.com/items?itemName=jasonnutter.search-node-modules
MIT License
60 stars 17 forks source link

WIP: Add an option to always open specific files #7

Closed ewnd9 closed 6 years ago

ewnd9 commented 6 years ago

For your consideration: this is a quick prototype I build for myself, if you accept the idea, I will rewrite it properly with configuration in settings.

Almost every time when I want to see a dependency, I'm starting with reading README, so this helps me save time.

jasonnutter commented 6 years ago

Thanks for the PR! I'm not sure I like the idea of auto-opening certain files. What about an option to customize the order in which the files/folders are listed in the quick pick? For example, I could see this being useful to put commonly opened files such as README, package.json, index.js, etc. at the top of the quick pick list.

ewnd9 commented 6 years ago

Thanks for the extension, I use my fork everyday and not sure I would have bothered to build it from scratch. So, personally for me adding another step to workflow (your idea about ordered files) is a bit of a burden