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

[Feat]: Support "Follow link (Ctrl+Click)" to notes #85

Open
silopolis opened this issue Oct 11, 2023 · 1 comment
Open

[Feat]: Support "Follow link (Ctrl+Click)" to notes #85

silopolis opened this issue Oct 11, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@silopolis
Copy link

silopolis commented Oct 11, 2023

app

joplin-vscode-plugin

Is your feature request related to a problem? Please describe.

VSCode supports following links in code using the Ctrl+Click shortcut, but this doesn't work with links to other notes in Joplin notes.
The error message is:

unable to resolve text model content for resource vscode://rxliuli.joplin-vscode-plugin/open?id%...

Describe the solution you'd like

Being able to "navigate"/open linked notes using the "Follow link" feature.

Describe alternatives you've considered

Manually finding the target note in the hierarchy, which can be a pain (see #82)

Additional context

I've seen that a solution may have been looked for (https://stackoverflow.com/questions/63753640/the-logic-of-the-vscode-custom-link-jump-cannot-open-the-link), hope it will come someday

Thanks in advance

@silopolis silopolis added the enhancement New feature or request label Oct 11, 2023
@rxliuli
Copy link
Owner

rxliuli commented Oct 11, 2023

At present, this feature is not stable, but it should work most of the time. I haven't pinpointed the exact reason for the error, just as mentioned on StackOverflow...

Kapture.2023-10-11.at.23.12.25.mp4

If it's not available, there are a few similar alternative features:

  1. Search feature: Use ctrl+j, ctrl+o to list recent notes. You can also search directly. Refer to: https://joplin-utils.rxliuli.com/joplin-vscode-plugin/guide/feature.html#hot-key
  2. List linked notes: Use ctrl+shift+p, then input the command Joplin: Show notes referenced by the current note and hit enter. This will display notes that the current note references. You can assign a favorite shortcut key for this feature.

I apologize that these features already exist but weren't introduced properly. Would you be willing to submit a PR to modify the documentation?

@rxliuli rxliuli added bug Something isn't working and removed enhancement New feature or request labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants