Specify Page when use stdout

0 votes
asked Jun 13 in Wanted features by jebbs (150 points)
Hi, this is Jebbs, the author of vscode-plantuml. Since stdout can only stream one file,  can I specify the page index when call the command? It's critical in solving these issues:
 
 

1 Answer

0 votes
answered Jun 13 by plantuml (134,570 points)
selected Jun 14 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 by jebbs (150 points)
It's what exactly I want! Thank you for your quick development!
commented Jun 22 by jebbs (150 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 by plantuml (134,570 points)
We will commit this in the next couple of weeks. We'll post a message here when done.
...