Provide a way to specify Page when use stdout

0 votes
asked Jun 13, 2017 in Closed feature request by jebbs (140 points)
Hi, this is Jebbs, the author of vscode-plantuml.

Since stdout can only stream one file, I would like to be able to specify the page index when call the command.

It's critical in solving these issues:

https://github.com/qjebbs/vscode-plantuml/issues/1

https://github.com/qjebbs/vscode-plantuml/issues/40

1 Answer

0 votes
answered Jun 13, 2017 by plantuml (294,960 points)
selected Jun 14, 2017 by jebbs
 
Best answer
Ok. Nice idea!

In last beta https://www.dropbox.com/s/koo42q3d9gxw288/plantuml.jar?dl=0

we've added a flag -pipeimageindex N in the command line, so you can now have:

java -jar plantuml.jar -pipeimageindex 1 -pipe < test.txt

(the index starts at 0).

Is this what you are expecting ?
commented Jun 13, 2017 by jebbs (140 points)
It's what exactly I want! Thank you for your quick development!
commented Jun 22, 2017 by jebbs (140 points)
Thanks again for you improvement. Can you also officially add this feature to plantuml server? It's helpful in follow scenario:

https://github.com/qjebbs/vscode-plantuml/pull/45
commented Jun 23, 2017 by plantuml (294,960 points)
We will commit this in the next couple of weeks. We'll post a message here when done.
...