seflless / atom-diagrams

Create Dot and Network Sequence diagrams in the Atom IDE.

Home Page:https://atom.io/packages/diagrams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Preview in new pane/tab

galenandrew opened this issue · comments

Currently, the preview for diagrams is in the same pane/tab as the document. To allow for more user friendly pane-management, would love to see the diagram preview in a new tab and pane (see https://github.com/atom/markdown-preview as an example).

Hey @galenandrew, I specifically chose this way over that way. I found working on multiple diagrams at once frustrating with that approach. The implementation is certainly not perfect, should fit better with styling and dragging look/feel.

I'm open to revisit, but I just don't love that alternative approach, I just tried out editing multiple markdown files and previews again to remind myself why I chose this way. I still find it wieldy to have to manage 2x windows and have to switch which preview window is visible to match which markdown file I'm editing.

Thoughts? Have you tried editing multiple preview-able markdown files?

I can definitely understand and appreciate that sentiment and frustration with editing multiple documents with the previews in a different pane.

The scenario I ran into was wanting to have the preview below my document (as if it was a split pane on the bottom) since my diagram was so wide.

I'm not as familiar with developing atom packages, but curious if this could be a configurable setting – either using an embedded preview vs a split pane preview or side-by-side vs top-bottom preview. If a user is able to choose the split pane preview, they can move that pane to the desired position.

Thoughts?

Is there a way that we can toggle the pane from vertical to horizontal?
Or maybe within the code pane to enable a scroll bar.