BlueBoxWare / LibGDXPlugin

An IntelliJ plugin for use with LibGDX
Apache License 2.0
147 stars 8 forks source link

Support for libgdx JSON format outside of skin #19

Closed maltaisn closed 5 years ago

maltaisn commented 5 years ago

I'm using Json to define data in my game. Is there any way to mark the files as libgdx Json (i.e no double quotes or commas needed) instead of normal Json? This is possible for skin files, could it be for generic Json files too?

BlueBoxWare commented 5 years ago

No, currently the plugin can only handle Json with the specific structure of skin files.

I will see if I can add general libgdx json support, that would be a useful feature. It will probably take some time to implement though.

BlueBoxWare commented 5 years ago

I have added support for LibGDX style JSON. To mark a file as LibGDX JSON: in the Project Window, open the context menu for the file and select Mark as LibGDX style JSON. If you find any issues, please let me know.

maltaisn commented 5 years ago

Thanks! I did the update this morning and it worked great.