Workshop · Tool
Code structure and indentation checker
Paste Java, JavaScript or Python. It flags unbalanced brackets, inconsistent indentation, and common class-structure mistakes, and can re-indent Java and JavaScript by brace depth.
Findings
0 error · 5 warning · 0 info
- warningline 4
Block body is not indented.
Indent statements inside the braces by 4 spaces.
- warningline 6
Block body is not indented.
Indent statements inside the braces by 4 spaces.
- warningline 6
Possible missing semicolon.
Java statements end with ';'.
- warningline 9
Block body is not indented.
Indent statements inside the braces by 4 spaces.
- warningline 10
Block body is not indented.
Indent statements inside the braces by 4 spaces.
Formatted output
Re-indents by brace depth. It does not change the code itself.
Heuristic, not a parser: it does not replace your compiler, linter or formatter. Runs entirely in your browser; the code is not sent or stored.