hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
209 stars 57 forks source link

plantuml eclipse plugin not working in oxygen 4.7.3a #52

Closed rasmusmk closed 6 years ago

rasmusmk commented 6 years ago

After updating to newest eclipse (4.7.3a) plantuml stopped displaying my diagrams. It keeps showing a old one regardless of where I place my cursor in file with lots of different diagrams in comments.

hallvard commented 6 years ago

Is the editor the Java editor? If you open the PlantUml source view, does it update correctly?

rasmusmk commented 6 years ago

no it is c/c++ editor. No source in plantUML source view, just blank

hallvard commented 6 years ago

This means you have installed the standard C/C++ Development Tools (CDT), right? There is no special PlantUML support for the c/c++ editor, so it will rely on the generic support for the generic text editor. Could you please provide the file that gives the problem, so I can more easily reproduce it? Could you also check if there are any errors in the Error Log view, that seems related to PlantUML. Note that the target for the build is Luna, not Oxygen, so I rely on backward compatibility in general.

rasmusmk commented 6 years ago

I got it to work again. It was an error from my side. I had changed my startuml and enduml tags to use \ instead of @ because that was what the other doxygen commands where using. So using @startuml and @enduml still works for standard C/C++ Development Tools (CDT) oxygen 4.7.3a and loving it :-)

hallvard commented 6 years ago

That's good to hear!