-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embed File Type Filter #326
Comments
Hey, thanks for the interest. Is the .gitignore file not usable for your use case, should there be an additional option? |
I have some media files in my projects (in this specific case, .wof font files). And it seems they were being processed/added into the embeddings. I want to see the files in my VSC project, but I don't want them processed/added to the embeddings. That's why I thought a file extension filter would be useful. What do you think? |
Hello, this issue should be resolved. Now, Twinny not only uses .gitignore to ignore files during embedding, but you can also add custom ignore items in the global settings. |
I had the same question and found this issue. The above solution works and this issue can probably be closed. |
Hi, thanks for the modification. It works, but why not using a specific file for twinny ? Like .twinnyignore Because when doing embedings using
Using a specific file for twinny to ignore files could be a more granular approach and provide a lot of flexibility to construct a pertinent embeding context. So, that file could be placed in the .gitignore file to not be tracked. What do you think about this ? |
Is your feature request related to a problem? Please describe.
Some binary files are being embedded which I don't want embedded.
Describe the solution you'd like
A filter for accepting only certain file types (e.g. .mjs, .js. .ts, .html).
Describe alternatives you've considered
A filter for rejecting certain file types.
The text was updated successfully, but these errors were encountered: