Joplin's vscode plugin is released!

Currently, in the VSCode plugin, I only check if the user's search keywords contain Chinese characters. If they do, the string is segmented using Jieba and then joined into a new search string with spaces. For example, searching for 中华人民共和国武汉市长江大桥 would become 中华 华人 人民 共和 共和国 中华人民共和国 武汉 武汉市 长江 大桥 长江大桥.

Relevant code

if (!value.includes(':') && /[\u4E00-\u9FFF]/.test(value)) {
  value = cut_for_search(value, true).join(' ')
  logger.info(`chinese search value: ${value}`)
}

Yes, that would be fine, but I think the problem is how to integrate it with the existing search? Do you know how that could be done?

However, yes, I am not very familiar with where or how to modify Joplin's search-related code.

Release 1.6.0, Implement create note from selection.

ref: Release joplin-vscode-plugin@1.6.0 · rxliuli/joplin-utils · GitHub

2 Likes

I really love this plugin!

One thing, that I am missing is some context, when searching a note, regarding which notebook and subnotebook the result is coming from, as I sometimes have notes with the same name in multiple Notebooks. I think it would be great to display this in the style of a filepath, like it is done with the results in the "Go to File..." list.

Would it be better to display a small line of text showing the related path below the title when there are notes with the same name?

Yes, this would be better, but I think it would also be good to have the related path in the "Joplin search" results? Thanks so much for considering it! :slight_smile:

OK, would you like to submit a feature issue?

Release 1.7.0 @lesstech

image

ref: Release joplin-vscode-plugin@1.7.0 · rxliuli/joplin-utils · GitHub

2 Likes

Released v1.7.2, fixed the error of not being able to click on Joplin note links.

1 Like

The plugin has been downloaded 20k times! :stuck_out_tongue_winking_eye:

6 Likes