Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOCON beautifier #42

Open
jpierson opened this issue May 19, 2017 · 1 comment
Open

HOCON beautifier #42

jpierson opened this issue May 19, 2017 · 1 comment

Comments

@jpierson
Copy link

@nomailme commented on Mon Jul 11 2016

Hi!

I've just dived into akka.net and actor model in general. Everything goes fine until I have to edit HOCON in app.config. I am always missing braces and can't understand what is where.

So my question is how do you format HOCON config file? Are there any plugins for any free text editor that can help me?

Thanks,
Iskander


@kantora commented on Thu Jul 14 2016

I am using sublime text and a plugin in it. Also I moved hocon out of app.config and apply it separately.


@jpierson commented on Wed Aug 03 2016

I've found this extension for VSCode but it doesn't appear to be available in the gallery and I haven't tried it myself. Being able to support the hocon configuration to be separated out into a .hocon file would probably make this a bit easier to support in most editors... I haven't looked at whether that is supported generally in Akka.NET or not though yet.


@sean-gilliam commented on Thu Apr 06 2017

This issue probably should be directed to our HOCON repo.

https://github.com/akkadotnet/HOCON

@Aaronontheweb
Copy link
Member

@jpierson so the Config object in stand-alone object now supports Config.PrettyPrint - which will produce a properly formatted version of the configuration object. We could perhaps roll this into a stand-alone tool or VS plugin, but it's available programmatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants