Join Slack
Powered by
Am using KotlinPoet to generate list of properties...
# squarelibraries
j
John O'Reilly
11/25/2022, 4:49 PM
Am using KotlinPoet to generate list of properties and wondering if there's way to not have the extra newline between each one?
nope
3
z
Zac Sweers
11/25/2022, 4:50 PM
if you care a lot about the formatting, I would suggest you post-process the generated files after with your preferred formatter
Zac Sweers
11/25/2022, 4:50 PM
but generally you shouldn’t need to worry about formatting in generated code
h
hfhbd
11/25/2022, 4:51 PM
Yeah, this also affects local declared properties in functions, which adds another newline
j
John O'Reilly
11/25/2022, 4:51 PM
ok, thanks, sounds like it's not possible
45
Views
Open in Slack
Previous
Next