NotePlan
NotePlan
Jun 6

Link to folder [[/folder]] and display tree structure when selecting a folder

1. Being able to link not only to notes but to folders too. Since when you click on the folder it shows its content it can be very useful for people who work on projects like an online course, documentation, or other writing-related. This is because in most cases your project is not actually a note but a group of different notes and folders. 2. Another good improvement that can work well with the first one is when clicking on the folder - show its structure instead of just a list of all notes. So let's say you are working on the documentation or website text in this way you can reproduce site-map (table of content) like in sphinx doc generator and other similar. This is less important for that use-case than the first one because you can still add an index/content file in the root of your project folder and use paragraphs + refs to build a table of content.
CompletedCompleted

Jan 21, 2024

This works meanwhile, just search for the folder in the auto-complete, they are also along with the notes and select the folder. It uses [[//<folder name>]] however.

Jan 19, 2022

I think it is more than just linking to a folder but also quickly linking to a specific file. I think there are three different behaviors which could be implemented: 1. [[<name>]] - This is the current behavior and link to a file or folder 2. [[/<name>]] - The leading '/' means link to a file or folder with an absolute position from the top of the hierarchy 3. [[./<name>]] - The leading './' means link to a file or folder relative to the current file (position)

Jun 8, 2021

Adding an upvote for the first idea. I'm still torn between when I use folders and when I use tags, but for cases where I do use folders, such as for a particular client such as the ever popular "Client A", I would generally create an index note there as well "Client A.md". I can definitely see opening that note and flipping the side bar to that section expanded.

Jun 9, 2021

Gary Learned: ive often wanted a "home note" for my #tags and @mentions. This is somewhat possible by simply creating a named note with that hashtag or mention. It will show up as the first search result when I tap the #tag or @mention in the sidebar or note (since @ and # sort first alphabetically). Likewise putting that in a folder for that client, shows #client.md note first in the Sidebar (if your sort order set to alpha there)

Jun 6, 2021

Likewise - I Iike the first idea. Linking to the sidebar and opening the referenced folder, but also opening a named note if it exists. So if I have a "ProjectX" folder, I find it useful to have a ProjectX.md note in that folder as an index note, to contents in that folder. To combine it with your idea, a folder link [[ProjectX]] could: - Create a ProjectX.md note *in* that folder, if it didn't exist yet - Open ProjectX note - Open ProjectX/ folder in sidebar (naturally, as a result of opening ProjectX index note) This is nearly identical to how Zim notes manages things when it maps to files in your file system ("Notes" is both a folder and a file):

Jun 6, 2021

Up-voting for your first idea. But I'm not quite sure what you mean by the second. Are you suggesting that the where the note is usually displayed it would be showing the fuller structure of sub-folders, or are you thinking about the sidebar?

Jun 6, 2021

Jonathan Clark: So for the second one I mean when selecting a folder from the sidebar currently it shows a list of all notes in this folder ignoring subfolders which makes it really confusing when you have a lot of them. I'm proposing to simply display the structure (a.k. table of content) of this folder for easier understanding of its structure and navigation (basically copy the way left sidebar works when open a folder). Main reason for this is because left sidebar is usually much smaller than editor screen it can't display many inner levels nicely. This will work great with the first suggestion where you click on the referenced folder and immediately see its structure with all notes and subfolders