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

Make foam respect the .gitignore file #1388

Open
dvalde0 opened this issue Aug 31, 2024 · 1 comment
Open

Make foam respect the .gitignore file #1388

dvalde0 opened this issue Aug 31, 2024 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@dvalde0
Copy link

dvalde0 commented Aug 31, 2024

Is your feature request related to a problem? Please describe.

The graph view plots all the files in the repository. This is a problem if the user has a virtual env installed in the repository, becuase it will plot all the .md files in the env. This also applies to wikilink autocompletion, where the pop-up will include all the files in the venv.

Describe the solution you'd like

Make foam respect the .gitignore file, meaning that the folders and files defined in .gitignore should be ignored by foam entirely.

Describe alternatives you've considered

The user could filter the filetypes in Foam > Files: Notes Extensions and use a custom filetype, but this is really not an alternative.

Screenshots or Videos

No response

@riccardoferretti riccardoferretti added this to the backlog milestone Aug 31, 2024
@riccardoferretti
Copy link
Collaborator

Thanks for reporting this @dvalde0
I am not against adding support for this feature, if someone wants to take a stab at this I can provide support.

@riccardoferretti riccardoferretti added help wanted Extra attention is needed good first issue Good for newcomers labels Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants