-
Notifications
You must be signed in to change notification settings - Fork 666
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
Comments
Thanks for reporting this @dvalde0 |
Hi there @riccardoferretti, I've been a Foam user for over three years and love it. However, I'm primarily a junior JS developer and don't have much experience with VSCode extensions. If I wanted to get started contributing to Foam, I'd love to know more about how to build and test Foam. Any links to resources or documentation would be greatly appreciated. |
Hi @TieWay59 - the best place to get started is reading the For this specific feature a starting point would be the Let me know if you have any question, thanks for wanting to help! |
I apologize for my slow progress during my spare time. I have tried the process outlined in contribution-guide.md and have managed to start a test host using the debugger. Here, I have a question: how can I determine whether the running instance of Foam is the one I've built locally? Is there any method for this? I've tried running the command However, this output doesn't seem to indicate anything. Perhaps I could temporarily modify the project's version number somewhere? @riccardoferretti |
I am currently conducting some experiments on my own branch and feel that it is not yet ready to be merged. Before I propose a PR, I would like to share my thoughts:
|
Hi @TieWay59 , sorry for the late response, here we go:
To your questions:
The other thing that is worth mentioning is making sure that the semantics of the gitignore file are properly represented in the glob ignore pattern. TBH I am not sure 100% as I have never had to dig deep into it, so it might be a non-problem - but what I would want to avoid is that unexpected behavior there |
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
The text was updated successfully, but these errors were encountered: