0

I'm starting to work with .arb files in Android Studio and I find them quite difficult to read as only plain text.

Is there any way to color or format the structures more readeable?

no style code for .arb

1

I tried to find some information, seems that in visual code json settings work the same with .arb, but not in android studio.

example code

2

What I expect is, for example, add color to the "@_AUTH":{},

Is that even possible in android studio?

Thanks

vimuth
  • 5,064
  • 33
  • 79
  • 116

1 Answers1

0

As you noticed, .arb files have the same format as .json files. You can easily associate .arb files with JSON formatter in Android Studio:

  1. Open settings with Ctrlalts
  2. Go to Editor > File Types
  3. In Recognized File Types search for JSON
  4. In File name patterns add *.arb

Now .arb files will be formatted just like JSON files.

doteq
  • 106
  • 3