asciidoctor-intellij-plugin
asciidoctor-intellij-plugin copied to clipboard
Separate window (floating mode support) Preview pane
I 'd like to see my asciidoc raw text on my left screen and my preview on my right screen. Currently everything is on 1 screen and there's simply not enough horizontal space to have these 2 panes comfortably next to each other.
The solution is to optionally allow floating the asciidoc preview pane.
The Preview pane should maybe be in a proper (nested?) dock, so it has all the features of normal IntelliJ docks, such as Floating Mode, Docked Mode, Windowed Mode, ...
Nice idea! I wonder if you know an IntelliJ plugin that already does this?
I could then have at look that plugin's code to find about the APIs to use.
the android screen plugin does this, but I don't know of a simpler plugin that does it: http://4.bp.blogspot.com/-OA7USNhTawM/Uj8X_eoNHUI/AAAAAAAAANE/04KQPf-sVic/s1600/Screen+Shot+2013-09-22+at+16.57.49.png
The option to have the preview in a separate window hasn't been implemented yet, there are now two other options around to help with this:
- there is a horizontal preview split (available in the plugin's options)
- the preview can be opened in a browser from the IDE (but it doesn't refresh automatically at the moment, only on user interaction)
Still, I leave this issue open so it can be revisited.
I revisited it again; I found that there is the option "Move Tab to New Window..." (there is even a hot-key for this).
The user can then move this to a second screen and switch it to preview-only. When editing in the original editor window, the preview will refresh. Still, this doesn't provide the full "dock-mode" feeling. One of the plugin that provides a full dock-mode is the plantuml plugin; I'll have a look at that.