Remove trailing whitespace automatically
add auto close for brackets and parenthesis