esteinberg / plantuml4idea

Intellij IDEA plugin for PlantUML
Apache License 2.0
621 stars 112 forks source link

Keep getting syntax error #358

Closed jmooremcc closed 1 year ago

jmooremcc commented 1 year ago

I've added @startuml and @enduml in my code but the plugin keeps indicating a syntax error. The code runs with no problem as far as python is concerned and the only errors highlighted by the IDE art the 2 uml tags.

krasa commented 1 year ago

what code?

jmooremcc commented 1 year ago

I have PyCharm community edition and I want to create UML diagrams from my Python source code. I successfully did this a few years ago with PlantUML but now it doesn’t work. I added the @startuml and @enduml tags in my python source code and only get errors.

What am I doing wrong?

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Vojtěch @.> Sent: Wednesday, July 27, 2022 1:44 PM To: @.> Cc: @.>; @.> Subject: Re: [esteinberg/plantuml4idea] Keep getting syntax error (Issue #358)

what code?

— Reply to this email directly, view it on GitHubhttps://github.com/esteinberg/plantuml4idea/issues/358#issuecomment-1197095476, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADESKBM7J2KSX5H2I5R4JKTVWFYRDANCNFSM542LZ2RA. You are receiving this because you authored the thread.Message ID: @.***>

krasa commented 1 year ago

I don't have the code or the error, so how should I know? :-)

jmooremcc commented 1 year ago

@startuml def greet(): print("Hello World")

@enduml

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Vojtěch @.> Sent: Wednesday, July 27, 2022 1:56 PM To: @.> Cc: @.>; @.> Subject: Re: [esteinberg/plantuml4idea] Keep getting syntax error (Issue #358)

I don't have the code or the error, so how should I know? :-)

— Reply to this email directly, view it on GitHubhttps://github.com/esteinberg/plantuml4idea/issues/358#issuecomment-1197106652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADESKBO3RWUPYPNBTJ7TMRTVWFZ3PANCNFSM542LZ2RA. You are receiving this because you authored the thread.Message ID: @.***>

krasa commented 1 year ago

https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKf9JLD8BqfDBT7GjE9I08A2eioy4WqbZzISd7o5yFoYd1GbJIukXzIy591o0000

jmooremcc commented 1 year ago

I want to create a UML diagram from my python source code. I don’t want to create a new file describing the code I’ve already created. Is it possible to that in PlantUML?

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Vojtěch @.> Sent: Wednesday, July 27, 2022 2:00 PM To: @.> Cc: @.>; @.> Subject: Re: [esteinberg/plantuml4idea] Keep getting syntax error (Issue #358)

https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKf9JLD8BqfDBT7GjE9I08A2eioy4WqbZzISd7o5yFoYd1GbJIukXzIy591o0000

— Reply to this email directly, view it on GitHubhttps://github.com/esteinberg/plantuml4idea/issues/358#issuecomment-1197111048, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADESKBKEN2U5JN5OR45GOJ3VWF2LJANCNFSM542LZ2RA. You are receiving this because you authored the thread.Message ID: @.***>

krasa commented 1 year ago

dunno, this plugin generates images from plantuml code, not plantuml code from python code.

jmooremcc commented 1 year ago

Ok, so this tool is not appropriate for my needs. What you have is equivalent to Microsoft Visio for producing diagrams. I’m interested in only having a tool that will analyze my Python source code and generate a UML diagram which PlantUML used to do.

krasa commented 1 year ago

there is this https://blog.jetbrains.com/idea/2022/03/intellij-idea-2022-1-eap-5/#Export_UML_diagram_to_other_formats