added generic autoformatter instead of calling directly astyle,
formatter still call astyle for C/C++ filetypes