config icon indicating copy to clipboard operation
config copied to clipboard

Make formatting possible

Open kastoestoramadus opened this issue 7 months ago • 1 comments

Allow the config library to be used as a formatter.

Rendering options added:

  • don't reorder entries,
  • control indentation,
  • default assign operator,

https://github.com/lightbend/config/issues/693

Let me know if such improvement will be accept to merge. For now I've seen your lib is in maintenance mode.

kastoestoramadus avatar Apr 22 '25 05:04 kastoestoramadus

Hi @kastoestoramadus,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Akka Contributors License Agreement:

https://www.lightbend.com/contribute/cla

lightbend-cla-validator avatar Apr 22 '25 05:04 lightbend-cla-validator

Hi @kastoestoramadus, Thank you for suggesting this quite useful feature and it looks indeed less intrusive than I would have expected. Are you willing to take this to a full implementation?

ennru avatar Sep 11 '25 06:09 ennru

I don't know. You've responded after 5 months :/ . I've already implemented it in sconfig alternative repo with more features.

kastoestoramadus avatar Sep 25 '25 22:09 kastoestoramadus

I understand your frustration. We've been a bit neglectful of this repository and are also cautious about making changes. Thank you again for suggesting it.

ennru avatar Sep 26 '25 12:09 ennru