prompt-tower icon indicating copy to clipboard operation
prompt-tower copied to clipboard

Feature Idea: .towerignore files.

Open arthurwolf opened this issue 1 month ago • 0 comments

I've taken to use the "file selection" feature more and more. It's amazing. I just made a request to Gemeni with 750k (thanks token counter feature!) tokens (the entire codebase of one of my projects), and it was actually able to find what I wanted and answer my questions...

I have one problem/improvement I'd like.

When I select my entire project's src/ folder using the file selection (I really don't want to have to select each important file by hand...), it will select some files I don't want it to.

I know it's what I asked, but it'd be nice if I had a way to deselect some files, for example in my case it brings along a bunch of .d files I don't want, same thing for node_modules folder, etc.

Here's what would work for me: A prompt-tower version of github's .gitignore files.

Exact same syntax, exact same function: list things you want ignored, and they are ignored. All in files that are hidden and can be placed anywhere.

The implementation in the extension itself is (I think) easy enough, just look for the files, and if they are there, remove the files from the initial selection (or even don't show them at all, maybe make that configurable?).

I know for certain I would use this feature a lot.

By the way, do you want some help with documentation?

I really love this project, keep up the good work.

arthurwolf avatar May 15 '24 01:05 arthurwolf