Android IDE (AIDE) Support Forum

'Format Code' does not delete trailing spaces

  1. Spaces after letter are not deleted.
  2. If there is a cursor, blank line spaces are not deleted.
1 Like

I made the script to remove the garbage from file after the AIDE editor:

cat $SRCFILE | expand -t4 | sed -r “s/\r+//” | sed -r “s/ +$//” > $TMPFILE
mv -f $TMPFILE $SRCFILE

1 Like