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

Same-name files not detected in multi-root workspace #553

Open
dnabb opened this issue Apr 28, 2022 · 1 comment
Open

Same-name files not detected in multi-root workspace #553

dnabb opened this issue Apr 28, 2022 · 1 comment

Comments

@dnabb
Copy link

dnabb commented Apr 28, 2022

Steps to reproduce.

  1. Create a multi-root workspace with "Add folder to workspace". The workspace will now have two folders in its root, unrelated to each other (as example, C:\FolderA and C:\FolderB).
  2. Save a note with the same name in both folders (say a.md). Type different texts inside them just to tell them apart.
  3. Type [[: autocomplete will show both notes, but the actual linking will use the short location.
    When clicking on the link, only one of the note (I assume "the one that comes first after paths sorting", as explained in this issue) will actually open.

The description of the memo.links.format mentions "unique across the workspace", but from the behaviour I described, it feels like it is only checks "within the same folder".

@svsool
Copy link
Owner

svsool commented Apr 29, 2022

Hi, I think current behavior that it will use the first inferred workspace amongst workspaces, I haven't tested it with multiple workspaces, also there was no solid use-case to support it, f.ex my knowledge base resides in a single workspace.

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

No branches or pull requests

2 participants