New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing error message "no @startuml found" #265
Comments
Server behaves different with Local, within this topic.
Anyway, this message is given by |
If I try to reproduce this using the jar-file I get when I download plantuml.jar I get another error message:
I still don't like the error message but at least it's a bit more generic. Just trying to report on my initial experience with the extension. A new user that downloaded this extension 2 minutes ago has no idea about and doesn't care about server or local rendering. |
Of course they don't. When I talk about renders, I'm talking about different messages the Please report to them. This extension just do its part of job, not to bypass, cover or change upstream project's behavior. |
I found this issue for the same reason as @DanielSundberg (I'm trying to use it in courses with newbie students). I would like to report it upstream (PlantUML devs on github fix bugs very quickly). But I can't get an image with Can you explain how the extension shows the image with that error? Is it in a temp file on disk? |
The extension sends what you're typing Since I'm not the author of |
I also wanted to report this upstream but gave up since I could not get plantuml.jar to report the same error. If we reported this as is I'm pretty sure PlantUml would say it's a problem in this vscode-plantuml (since we get different behavior using plantuml command line). |
Took me some time, but I think it's here:
Here's how to reproduce it: $ java -jar plantuml.jar -verbose -pipe < test.puml > out.png Then view the I tagged the PlantUML developer so he hopefully will see it here. |
Copied a uml document from Jira, it lacks the @enduml tag and I get the confusing error message "no @startuml found".
To reproduce, create a file with the following uml:
Then press Alt+D:
Adding the @enduml tag fixed the problem. However, for a newbie pasting some random puml this was a bit confusing.
The text was updated successfully, but these errors were encountered: