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

Copy opened files #4

Open robertpiosik opened 5 days ago

robertpiosik commented 5 days ago

To avoid need of installation of some separate extension it would be great to quickly copy to clipboard all open files. The overall format of copied text should be followed, which works great by the way. What do you think?

Thomas-McKanna commented 5 days ago

I like this as an additional feature that could be supported via a key-bind, but I don't want to change the ability to select files in the extension UI, as I find this to be useful in my workflow (I often have files open that I wouldn't want to be copied, or would be missing files I want to copy).

It could be supported by something like cmd + shift + c or something similar (customizable by user).

I do really like the idea - but just as an additional feature rather than changing existing copy functionality.

I'll try to implement this one soon - let me know if you have any further thoughts.

robertpiosik commented 5 days ago

Yeah, of course, the current folder selection panel should stay as is.