Skip to content

Making rendering useful for formatting files (2) - #454

Merged
ekrich merged 5 commits into
mainfrom
formatting-prepare
Jun 25, 2025
Merged

Making rendering useful for formatting files (2)#454
ekrich merged 5 commits into
mainfrom
formatting-prepare

Conversation

@ekrich

@ekrich ekrich commented Jun 11, 2025

Copy link
Copy Markdown
Owner

I messed up adding to your PR @kastoestoramadus

See #438

Just looking into this and rendering is a very popular topic and never tackled. I think we need to review and be confident we are not getting into a can of worms unless you plan to help me on some of the render issues and requests.

I am still leaning towards accepting this PR but would like you thought on some of the issues raised and other issues and PRs already brought up.

PRs

@ekrich ekrich changed the title Making rendering useful for formatting files. Making rendering useful for formatting files (2) Jun 11, 2025
@ekrich

ekrich commented Jun 13, 2025

Copy link
Copy Markdown
Owner Author

Ping @kastoestoramadus - what do you think?

@kastoestoramadus

Copy link
Copy Markdown
Contributor

Sure, not sure if I fix all of them but will solve some of them.
Thanks.

@ekrich

ekrich commented Jun 24, 2025

Copy link
Copy Markdown
Owner Author

I made some changes to your code - they look ok? I was just pointing out that we are going a new direction and there could be some bumps in the road. Maybe the lightbend library will accept your changes but who knows. Let me know how it goes with your tool after I make a release.

keepOriginOrder: Boolean = false,
doubleIndent: Boolean = true,
doubleColonAssign: Boolean = false,
colonAssign: Boolean = false,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kastoestoramadus kastoestoramadus Jun 25, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plus you've covered defaults with tests. Your changes look good

@kastoestoramadus

kastoestoramadus commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

Polish Scala community said not to count on Lightbend with their library.
Accpeted are only some version bumps of dependant libs and from known people only.

@kastoestoramadus

kastoestoramadus commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

With my current employer I got some spare time at work. I'll look from time to time to this repo to help a bit.
I've added some comments to poeple in old repo. Maybe they'll contribute as well :).
Lets give them some time to react with their issues.

@ekrich

ekrich commented Jun 25, 2025

Copy link
Copy Markdown
Owner Author

Thanks for the review. They finally recently took new changes.

@ekrich
ekrich merged commit 33f4607 into main Jun 25, 2025
@ekrich
ekrich deleted the formatting-prepare branch June 25, 2025 20:57
@ekrich

ekrich commented Jun 25, 2025

Copy link
Copy Markdown
Owner Author

Can be tested using 1.11.0-SNAPSHOT.

@ekrich

ekrich commented Jun 25, 2025

Copy link
Copy Markdown
Owner Author

@kastoestoramadus Sorry to bug you but I think I would have to add this feature before I can release to maintain source compatibility with lightbend/config with this PR as seen here - lightbend/config#798

They added a boolean before your latest rendering edition. I do have a Discord for sconfig - see link on main README.md or here if you do Discord. https://discord.gg/pKUzfFNq - Otherwise, I created an issue if you have any suggestions or comments - I can do the change. Issue: #455

@kastoestoramadus

kastoestoramadus commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

@ekrich ok, will do it. Starting the work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants