klaus31 / x-formatter

Format Java Code
The Unlicense
0 stars 0 forks source link

Do not format on errors in grammer #3

Open klaus31 opened 7 years ago

klaus31 commented 7 years ago

if parsing the source, do not format anything.

Optional: Because of the philosophie, not to support idiot comment positions (like while( /*wtf*/ i < /*wtf*/ 0) {[...]}), it would be nice to make clear, that the java syntax is correct but x-formatter will not do.