Is there an editor to autoindent / add spaces in existing code?
-
29-09-2019 - |
Pergunta
I have some JavaScript code which I want to make more readable. However, due to the amount of code I want to use a tool which does this automatically for me.
- Are there such tools already available or do I have to manually perform some "find/replace-alls"?
The code which I want to convert is written on a single line without spaces.
Solução
Quick search found http://jsbeautifier.org/ which seems to do what you are looking for online.
Search terms: javascript beautifier
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow