Thomas-McKanna / Files2Prompt

VS Code extension to copy files for an LLM prompt
https://marketplace.visualstudio.com/items?itemName=thomas-mckanna.files2Prompt
MIT License
0 stars 0 forks source link

Images should not be copied #7

Open robertpiosik opened 1 day ago

robertpiosik commented 1 day ago

Images should not be copied.

Thomas-McKanna commented 17 hours ago

Great idea. I think this issue will continue to pop up with other file types, and a user may even want to customize this.

So, my plan is to add a new extension setting where you can provide a comma-separated list of file extensions which by default should not be selected (they can still be manually selected, just like with gitignored filed). I will default this list to contain common image extensions like png, jpg, jpeg, and webp.

What do you think of this approach? Any other file extensions you can think of which would probably be safe to ignore?

Planning on getting to this during the weekend.

robertpiosik commented 16 hours ago

Hmm, I can't think about any other file types, maybe videos? Some could git them 😅