lightbend / config

configuration library for JVM languages using HOCON files
https://lightbend.github.io/config/
6.17k stars 966 forks source link

Support ".hocon" extension #45

Open foror opened 12 years ago

foror commented 12 years ago

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.

havocp commented 12 years ago

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

foror commented 12 years ago

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 commented 12 years ago

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

farquet commented 4 years ago

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.