Open mm-tfx opened 4 years ago
cannot reproduce.
I tried also with this simple example.
@startuml
Alice -> Bob : message 1
Alice -> Bob : message 2
newpage
Alice -> Bob : Hello Bob
Alice <- Bob : Hello Alice
@enduml
Initially it works but again introducing small change and it stops working. Although this time the behavior was a bit different.
How can I help to troubleshoot this further?
I am encountering the same issue. If I remove the newpage from .wsd restart vscode, preview works. It appears the preview does not work with newpage
Still can not reproduce (Mac). Can any of you clone & debug the extension on local?
I am using windows would that make a difference? I updated plantuml through coco as well as my VSCode, still getting the issue.
I have identified the cause of this problem by clone & debug vscode-plantuml.
exit
event isn't issued on some cases on Windows platform. I don't know the detail. e.g. process is already exited.
Thus taskKilling
isn't reset. As a result all of the following preview requests are blocked permanently.
Maybe it is better to issue resolve(true)
in several seconds (3 secs for example) later even if exit
event isn't issued.
Hi.
I have a problem with
newpage
command.I copied this example from PlantUml User Guide into
test.puml
file.This worked and I could see two diagrams or I should say two pages. But then I changed one line:
:actor2: --> (Usecase2)
to:actor2: --> (Usecase3)
however there is no change in the preview.I need to restart Visual Studio and it works again and I can see the updated line rendered. If I just close Previewer then I cannot start it again and I need to restart Visual Studio.
I am using VSC 1.45.1 with PlantUml 2.13.10 on Windows.
Could you please suggest further troubleshooting?
EDIT: If I close the Preview then update diagram and then again open the Preview. This solution works so I have workaround.