anb0s / eclox

Eclox is a simple doxygen frontend plug-in for eclipse. It aims to provide a slim and sleek integration of the code documentation process into Eclipse.
http://anb0s.github.io/eclox
Eclipse Public License 2.0
35 stars 2 forks source link

Use/Maintain concatenation in Doxyfile #233

Open lordyavin opened 5 years ago

lordyavin commented 5 years ago

Expected Behavior

If a user decides to manually edit the Doxyfile and uses concatenation eclox should maintain the users style. Sample:

ALIASES                 = "requirement{1}=@xrefitem requirements \"Requirements\" \"Requirements Traceability\" <b>\1</b>" 
ALIASES                += "uses{1}=@xrefitem usage \"Uses\" \"Usage\" <b>\1</b>" 
ALIASES                += "project=@par Project:\n"
ALIASES                += "appname=@par Application:\n"

Actual Behavior

Gets converted to

ALIASES                 = "requirement{1}=@xrefitem requirements \"Requirements\" \"Requirements Traceability\" <b>\1</b>" "uses{1}=@xrefitem usage \"Uses\" \"KOMMEX ICD Usage\" <b>\1</b>" "project=@par Project:\n" "appname=@par Application:\n"

which is less readable.

Steps to Reproduce the Problem

Edit any setting manually and use concatenation to separate multiple entries. Open the file with the eclox Doxyfile editor and save again.

Your Environment

anb0s commented 5 years ago

Thanks, for reporting. I will look in to this, but eclox only supports one variable with same name, this is why it is merged together during import / read of the file... I think it will be not trivial in the actual code base...