Skip to content
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

Open
jdspugh opened this issue Sep 22, 2024 · 3 comments
Open

Embed File Type Filter #326

jdspugh opened this issue Sep 22, 2024 · 3 comments

Comments

@jdspugh
Copy link

jdspugh commented Sep 22, 2024

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.

@rjmacarthy
Copy link
Collaborator

Hey, thanks for the interest. Is the .gitignore file not usable for your use case, should there be an additional option?

@jdspugh
Copy link
Author

jdspugh commented Oct 14, 2024

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?

@fishshi
Copy link
Collaborator

fishshi commented Nov 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants