Closed jakobklein closed 5 months ago
I didn't find out where the properties files have to be placed, but I found the properties documentation in the GitHub project here: https://github.com/hallvard/plantuml/blob/master/releng/net.sourceforge.plantuml.parent/Customization.md
I think, you could try injecting PlantUML diagram text for hiding attributes and methods, i.e. according to the docs, something like the following should do the trick.
java.path = ....java
java = hide members
Great. This worked and got me the result I wanted. Thx a lot!
Not mentioned in Customization.md: For multiple show/hide commands you have to chain them with a newline charactert, e.g.
# Include fields, hide methods and hide all extended interfaces named "CrudRepository" (The * because PlantUml adds a suffix to the name of an implemented interface)
java.path = ....java
java = show fields\nhide methods\nhide CrudRepository*
The feature to create a class-diagram in Eclipse by selecting a package is great! Can I configure the PlantUml-Eclipse-Plugin to show just the classes and hide methods and fields? I read in multiples locations that I can configure the plugin via plugin via a properties file but did not find a reference of the valid configuration-properties or any information where the propterties file should be located or how it must be named.
Thx!