jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Create a URL handler to allow other applications to open FTML files at a specific line #64

Open RobTrew opened 9 years ago

RobTrew commented 9 years ago

Applications like DevonThink can already use Atom > Edit > Copy Path file:// links to open an FTML file in Atom, but it would be good to have a dedicated url handler which can open the files at a specific line.

jessegrosjean commented 9 years ago

From what I can tell it looks like this isn't possible to do only within Atom. I think the solution then is to add the custom URL handler into the helper app that's also used to defined the ftml UTI. But I'm going to wait on doing this until I've decided on a final name for "FoldingText for Atom" so that the URL will be stable.

RobTrew commented 9 years ago

Thanks – that makes sense. I'll use a simple ft3doc:// handler script for the moment, and then convert the links when things are settling down and you have had time to fix a name and write a more durable handler.