config icon indicating copy to clipboard operation
config copied to clipboard

Support ".hocon" extension

Open foror opened this issue 13 years ago • 4 comments

This library can be used not only for the configuration, but also for many other purposes. But you support extension ".conf" only when activated HOCON by default. I think the extension ".hocon" is necessary for load by default in HOCON format.

foror avatar Oct 10 '12 07:10 foror

The rationale is that the file may not be a config file?

havocp avatar Oct 10 '12 14:10 havocp

I think it requires a more global refactoring... And a new library, that only work with HOCON format (like json libraries). But while I thought to make a small patch to support HOCON, without a lot of refactoring and create a new library.

foror avatar Oct 10 '12 15:10 foror

Or someone might want to give the name of the configuration file as "config.hocon" :)

foror avatar Oct 10 '12 15:10 foror

Projects like GraalVM use the .hocon extension. I think it would make sense to make it a first class citizen in the official hocon implementation since it's a very unambiguous extension name.

farquet avatar Dec 05 '19 13:12 farquet