BlueBoxWare/LibGDXPlugin

Add please support for libgdx *.json files without double quotes

ProZhar opened this issue · 7 comments

Hmm, that would probably mean turning off IntelliJ's JSON inspections for skin files. I don't know if that's possible to do from a plugin. I'll look into that.

Sorry for my English. If that probably, can you do option in your plugin like this scenario:

  1. I create JSON file in normal format with double quotes
  2. Your plugin have button "Convert to Libgdx's JSON"
  3. After click that button it will delete all double quotes in this file or better way create copy without double quotes
    P.S. And a new idea for this option, that in this file we could also see a preview colors to the left gutter of the editor for lines which contain a color string :)

Thanks, you are the best 🥇 :)
Just testing your new feature for skins. Want to show you that i see:

  1. When 1st open, Android Studio ask me about the libgdx's skin, i choose Yes and see:
    1
  2. Comments are good too in just opened file:
    2

2.1. But if I click Ctrl+/ or Ctrl+Shift+/ nothing happening (!!! not work button combinations):
3

2.2. If I remove // manually, all good (!!! but curly braces still gray, not white):
4

2.3. And then I put again manually comment's // (text are not change color to grey):
5

2.4. After that I remove all // manually, and scroll up and down the file several times. Some curly braces repainted gray and some white:
6

2.5. Then i add all '//' manually again and some text repaint to grey, some still color. Curly braces automatically repainted to gray every row when I adding comment '//' manually:
7

But in any case - thanks. It was convenient, that does not show the errors in the file.

The issues should be fixed now.

Just updated the plugin and restarted Studio 2 times:
default
2

Just update your plugin to 1.4.1
Everything works well, code highlighting are wonderful:
8

Only one thing is not working - support folders for font files:
9

I want to wish you a Happy New Year. And thanks you fir this good plugin ^)

Happy New Year to you too!

I'll fix the folder thing in the next update. You can also put the filename in quotes