sublime_diagram_plugin icon indicating copy to clipboard operation
sublime_diagram_plugin copied to clipboard

Request: Option to display preview in sidebar during typing

Open arenaq opened this issue 7 years ago • 5 comments

Would it be possible to do something like that? Or at least update a file automatically so that user can put it on 2nd monitor.

IntelliJ has a plugin that can do this and I have to say it is quite useful.

arenaq avatar Feb 26 '18 10:02 arenaq

Like this (https://github.com/qjebbs/vscode-plantuml#preview-and-export-demos)?

evandrocoan avatar Feb 26 '18 10:02 evandrocoan

Yes, exactly like that. Shouldn't be hard to implement, right?

arenaq avatar Feb 26 '18 10:02 arenaq

@arenaq, I just implemented this on my fork. You need to run the command

  1. PlantUmlDiagrams: Continually Generate Diagram

This will continually generate the diagram, but it will not set the 2 column automatically, you need to create 2 panels and drag the opened image to the other panel manually:

image

evandrocoan avatar Mar 08 '18 01:03 evandrocoan

@evandrocoan so it is just viewing of file and re-generating the file on every change? that does not seem to be very nice to a HDD, would be nice to do this in memory only

arenaq avatar Mar 08 '18 14:03 arenaq

I do not have problems with that. As it is, it just works. I am not sure whether you can open an image with Sublime Text using in memory only image.

evandrocoan avatar Mar 08 '18 15:03 evandrocoan