Open thc202 opened 5 years ago
@thc202 could you please give more details regarding which scripts needs formating.
I started to look at this based on spotless. I figured first I should look at implementing it for JavaScript. Using the eclipse web tool platform formatter fails (it does run but bombs with syntax errors).
So then I thought to just use some of the default methods for formatting: trimTrailingWhitespace()
, indentWithSpaces()
, endWithNewline()
. However, the indent method doesn't replace existing indentation :cry: It will changes tabs to spaces, but it doesn't replace existing space indentation.
Per title, might be asking too much given the number of languages...