Currently, the HoconConfigurationLoader does not support an option to save a configuration node with a white space character between statements.
Example of the loader I am using:
private HoconConfigurationLoader createLoader(final Path file) {
return HoconConfigurationLoader.builder()
.prettyPrinting(true)
.defaultOptions(opts -> opts.shouldCopyDefaults(true))
.path(file)
.build();
}
Desired outcome:
prefix = "my prefix"
Actual outcome:
prefix="my prefix"
Having a way to enable/customize this would allow for better formatting for HOCON files.
Currently, the HoconConfigurationLoader does not support an option to save a configuration node with a white space character between statements.
Example of the loader I am using:
Desired outcome:
prefix = "my prefix"Actual outcome:
prefix="my prefix"Having a way to enable/customize this would allow for better formatting for HOCON files.