dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.75k stars 257 forks source link

deep link support with Dendron: open link #314

Open rhaynes74 opened 4 years ago

rhaynes74 commented 4 years ago

Currently vscode does not support opening deep links like: x-devonthink-item://7D425B20-EB31-4589-ACBA-A71D4F22A99B

Spotlight will open the link.

It would be nice if Dendron: Open Link could handle it. Better would be the ability to click on the link and have it open.

kevinslin commented 4 years ago

Thanks for the feature request. How do you normally open the link from another app? Does chrome support it?

rhaynes74 commented 4 years ago

I am told that links like this are accessible from other apps in a spotty way - for example brackets.io will open the x-devonthink-item links.  As I mentioned spotlight opens it.  So I either use spotlight or “native” support in the app, if available.

Sincerely,

Dr. Ronald D. Haynes

Professor, Department of Mathematics and Statistics Chair, MSc and PhD Scientific Computing Programs Memorial University of Newfoundland

We acknowledge that the lands on which Memorial University’s campuses are situated are in the traditional territories of diverse Indigenous groups, and we acknowledge with respect the diverse histories and cultures of the Beothuk, Mi’kmaq, Innu, and Inuit of this province. On Oct 29, 2020, 12:31 PM -0230, Kevin Lin notifications@github.com, wrote:

Thanks for the feature request. How do you normally open the link from another app? Does chrome support it? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kevinslin commented 4 years ago

Okay, that gives me something to start on. Thanks for the tip and will update this issue when we start working on this (probably going to be another week as there are a few other items to get to this week).

konrad-jamrozik commented 4 years ago

I would also like this, for file system. Say, on Windows, I have [foo](file:\\C:\Users\)

I would like for Ctrl+clicking to open this in Windows Explorer. OneNote gets it. But if I'll do it in VS Code, I get:

image

kevinslin commented 3 years ago

@konrad-jamrozik the reason you get that is because vscode is unable to follow folder links. Dendron has a command: Open Link to open urls using your system default when vscode/dendron doesn't support it: https://dendron.so/notes/3472226a-ff3c-432d-bf5d-10926f39f6c2.html#other-links

konrad-jamrozik commented 3 years ago

@kevinslin when I do > Dendron: Open Link on file:\\C:\Users I get:

image

when I do > Open Link nothing happens.

That's weird, previously I got it to work somehow, but perhaps I am misremembering things.

renomarcello commented 3 years ago

I have the same request both for Zotero and Devonthink. Spotlight, Alfred, Chrome and Obsidian can open the deep links. Dendron seems to think the links are for files even when using Open Link.