Android studio allows to auto format HTML code but not JavaScript. Is there anyway i can achieve such thing? I already looked for plugins and file types, but it seems like nothing really helped.
what i have already tried:
import CSS & JavaScript file types: https://github.com/manifestinteractive/android-studio-filetypes.
installed JS toolbox plugin.
I was looking for the answer and ended up installing Visual Studio in order to "beautify" the code. No need for extensions, you select your file and use
CTRL+SHIT+I
andCTRL+S
to auto format JS code.