capaj / vscode-exports-autocomplete

finds javascript ES6 exports in your project and autocompletes them when writing javascript statements
MIT License
18 stars 6 forks source link

Feature Request: Add option to exclude directories in user settings #36

Open aga5tya opened 7 years ago

aga5tya commented 7 years ago

@capaj, Thank you for the wonderful plugin.

I have an issue with the way plugin imports from all the folders in the project when used with the history plugin. The history plugin stores older versions of edited files in case needed to revert, and autocomplete always picks this to resolve the imports. Would be nice if ignore directories option is provided to tackle such scenario.

capaj commented 7 years ago

that's a great suggestion. Will definitely add those. What is the default folder that history plugin uses? I'd set that as a default so that no more people run into this issue.

royriojas commented 6 years ago

Hi @capaj,

First Thank you for this awesome plugin! I enjoyed it very much!.

Just wanted to mention that for big projects I found that parsing all files become quite expensive making the code-helper to use almost 100% -150% of CPU, this affects other plugins because they cannot get some time to work properly.

Actually a good improvement would be to honor the .gitignore file, the .jsconfig excludes and the .vscodeignore files if they exist. That will for sure save some time having to configure another set of excludes.