AI-Planning/pddl

Don't remove comments when formatting

Tonelllo opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
If, for example, in the command-line I execute pddl problem problem.pddl the formatted file will have the comments removed

Describe the solution you'd like
I would like to have the comments to be kept where they are. Maybe add a command-line option for this if the default desired behavior is to remove the comments

Hi @Tonelllo,

thanks for the feature request! It would certainly be an interesting addition to the library. However, in doing that, I think we should give the user the choice to have them kept or removed.
It shouldn't be too hard to do, but it would certainly require some time. I'm a bit busy at the moment, and I don't know about the others. Why don't you give it a try? It could be a good first issue!

Thanks for the reply. I will see if in the following weeks I will have some time to have a look at it