mindforger icon indicating copy to clipboard operation
mindforger copied to clipboard

[Feature/Enhancement] Complete Link Misses Notes

Open stexyz opened this issue 4 years ago • 1 comments

Enhancement / feature description:

The Complete Link feature misses some notes. Specifically, it doesn't match note names that have spaces when searching for other than the first word.

image

However, there is another note to be found: image

Also, notes from the same notebook could get priority in the list, typically with generic note names like Note which are many. (maybe note named Note is a too simplistic example but Summary or Overview could do).

stexyz avatar Dec 28 '21 22:12 stexyz

Complete Link skips notes unless you know exactly what you want to link:

  • same case
  • name starts with word under cursor
  • tags are ignored

In my case I tried to link New Golang notebook (tagged with "golang"):

2024-03-24-003832_3840x1080_scrot

2024-03-24-003841_3840x1080_scrot

2024-03-24-004313_3840x1080_scrot

$ cat New-Golang-notebook.md 
# New Golang notebook <!-- Metadata: type: Outline; tags: golang; created: 2024-03-24 00:48:42; reads: 5; read: 2024-03-24 00:49:03; revision: 5; modified: 2024-03-24 00:49:03; importance: 0/5; urgency: 0/5; -->
test
# Note <!-- Metadata: type: Note; created: 2024-03-24 00:48:42; reads: 1; read: 2024-03-24 00:48:42; revision: 1; modified: 2024-03-24 00:48:42; -->

Expectation: type go, Ctrl+L, get all of suggestions on images above (plus everything tagged with go.*).

This is not macOS specific issue, I'm on Linux.

unknown321 avatar Mar 23 '24 21:03 unknown321