fountain-atom icon indicating copy to clipboard operation
fountain-atom copied to clipboard

Fr: Outline preview for all .fountain in a atom project

Open X-Raym opened this issue 7 years ago • 1 comments

Hi,

Currently, the outline preview is just for the current .fountain file being edited. So far so good.

However, it could be interested to have such Outline Preview with all sequences of all .fountain files (or at least current file folder). This will help with series writing: you have a .fountain file per episodes, and an outline preview for the whole series. Clicking on sequence could open the related episode into atom, at the sequence position.

I assume this is not a small Fr, but I wanted to share this idea with you. It might interest other people 🐈

Cheers !

X-Raym avatar Apr 19 '18 16:04 X-Raym

Not ideal, but it is possible to have this function with the todo-show Atom add-on.

The regex is simply \. and for the matching /(${TODOS})(.+#)/g.

Here is the result for one file.

Demo

Link are clickable, and it can work for the whole workspace too. List can be exported.

Note that it used the pane API, contrary to the Outline View, which is nice.

Maybe it worth moding this plugin to make something more adapted out of the box .fountain. Just an idea.

X-Raym avatar Apr 20 '18 00:04 X-Raym