Open fksimon opened 8 years ago
Definitely second this. There's already a language-hocon, but this would make my life easier. 😄
One of you just needs to submit a pull request with some minor modifications to some Atom Beautify configuration files to add some support. Here is some quick guidance: https://github.com/Glavin001/atom-beautify/wiki/Add-an-unsupported-language-using-an-existing-beautifier
Description
Atom Beautify could not determine a supported beautifier to handle this file with grammar "HOCON" and extension "conf".
Expected Results
The code is basically similar to a JSON format though a JSON validator will fail it can be formatted using the same syntax. For example right now I use http://jsonlint.com/ to format even though the validation fails.
Example:
simulator {
kafka_settings{ service-discovery{ enabled=false } producer_sinks{ producer-sink-1 { threadpool.name.prefix = "simulator" batch.size = 0 retries = 0 acks = "all" linger.ms = 1 buffer.memory = 33554432 number.of.producer.threads = 1 } } consumer_sources{ consumer-source-1{ group.id = "ackReader" poll.interval = 200 enable.auto.commit = "true" auto.commit.interval.ms = 1000 } } }