Penguin
Note: You are viewing an old revision of this page. View the current version.

Notes regarding Eclipse and it's quirks and features


Eclipse has issues with my version 2.1.3, where it sometimes substitutes \t(abs) for four spaces (or equivilant of). This makes CVS and other editors handle the tabs differently depending being fixed-width or not and so the spaces show up unequal.

Here is a quick parser to fix the problem
  1. /bin/sh

FILE=$1 TMPFILE=${FILE}.tmp cp $FILE $TMPFILE perl -ple 's/\s{4}/\t/gi' $TMPFILE > $FILE rm $TMPFILE