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

Idea: Allow notes in folders or subfolders #5

Closed
sahil48 opened this issue Jun 28, 2020 · 3 comments
Closed

Idea: Allow notes in folders or subfolders #5

sahil48 opened this issue Jun 28, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@sahil48
Copy link

sahil48 commented Jun 28, 2020

The impression I have is that all files created in foam are in a single folder. It would be good if foam could index notes in a folder and its subfolders, or even indexing of external folders. There are a few reasons why:

  • vscode file manager is the sidebar is a useful tool and when a note is accessed, related notes show up in the sidebar.
  • knowledge graphs could be more powerful by toggling graph of files in all folders or files in a given folder only. If your files are grouped by project, you get project-specific graphs, or domain specific graphs, etc
@jevakallio
Copy link
Collaborator

jevakallio commented Jun 28, 2020

Thank you @sahil48! Indeed the original idea when I created this was to avoid categorisation in directories, but I've gotten similar feedback from others and I've begun work on it already!

In fact, most of the extensions Foam is built on already support this, we just need to add support to the foam-vscode extension that glues all the this functionality together using markdown links.

The work is being tracked in foambubble/foam-vscode#8, and there's a WIP PR foambubble/foam-vscode#9 which I'm hoping to complete early next week.

knowledge graphs could be more powerful by toggling graph of files in all folders or files in a given folder only. If your files are grouped by project, you get project-specific graphs, or domain specific graphs, etc

This is a fantastic idea! Maybe @tchayen would be open to supporting it in Markdown Links?

@tchayen
Copy link

tchayen commented Jun 28, 2020

@jevakallio I am definitely open to adding something like this, but I would need some further explanation how such feature could exactly look.

@sahil48 Would you mind creating an issue for toggling all/specific folder displaying in https://github.com/tchayen/markdown-links/issues? We can continue there.

@jevakallio
Copy link
Collaborator

FYI this was shipped in foam-vscode@0.1.7 🎉

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

No branches or pull requests

3 participants