You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
Within .vscode/settings.json, I added the following line: "foam.files.ignore": ["readme.md"]
I reloaded vscode, and that file no longer was on the graph, as expected.
However when I made a change to the readme and then saved the file, foam added the file back onto the graph.
Only after reloading vscode, did the file no longer appear on the graph. However, editing the readme would add it back.
So it appears that when a markdown file is saved, that the graph does not check the ignore list, before updating itself?
Steps to reproduce
Clone the foam template repo (although any foam notes repo should work).
Confirm that readme.md appears on the graph. For the foam-template repo, it is named "Foam" on the graph.
Add "foam.files.ignore": ["readme.md"] to settings.json.
Note, that closing and reopening the graph, does not remove the readme file.
Reload vscode, and confirm that the readme now does not appear on the graph.
Edit readme.md, and save the file.
Look at the graph to see the readme appear (even though it should be ignored).
The text was updated successfully, but these errors were encountered:
Summary
Within
.vscode/settings.json
, I added the following line:"foam.files.ignore": ["readme.md"]
I reloaded vscode, and that file no longer was on the graph, as expected.
However when I made a change to the readme and then saved the file, foam added the file back onto the graph.
Only after reloading vscode, did the file no longer appear on the graph. However, editing the readme would add it back.
So it appears that when a markdown file is saved, that the graph does not check the ignore list, before updating itself?
Steps to reproduce
readme.md
appears on the graph. For the foam-template repo, it is named "Foam" on the graph."foam.files.ignore": ["readme.md"]
tosettings.json
.readme.md
, and save the file.The text was updated successfully, but these errors were encountered: