dendron icon indicating copy to clipboard operation
dendron copied to clipboard

Always add vault name as prefix when referencing notes

Open HenryC-3 opened this issue 2 years ago • 1 comments

Please select if your request is either something new or an enhancement

  • [x] Enhancement of an existing Feature.
  • [ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • [x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • [ ] Lookup - Dendron's Lookup Command
  • [ ] Views - Dendron Preview, Tree View, Side Panels in the UI
  • [ ] Schema - Dendron Schemas
  • [ ] Pod - Data import from / export to Dendron
  • [ ] Publish - External Site Publish
  • [ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe

I notice that the vault name prefix will be added when notes share the same name in different vaults.

But this may not cover the case below.

  1. referencing a note with a unique name across vaults, for example, note-a in vault A.
  2. create another note take the same as mentioned before, for example, note-a in vault B
  3. go to note-a by using Dendron: go to note
  4. now I have to select which vault I am going to.

Why select vault in step 4 since I already selected vault in step 1? this looks repetitive.

Describe the solution you'd like

Provide an option to enable always add vault name as a prefix when referencing notes.

Describe alternatives you've considered

Additional context

HenryC-3 avatar Aug 14 '22 10:08 HenryC-3

Thank you for the suggestion. We do have some features that omit vault prefixes when the location is unambiguous. The ambiguity may change over time so it makes sense to have a way to always include the vault prefix in created references.

hikchoi avatar Aug 16 '22 03:08 hikchoi