Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to get Eclipse to treat 4 spaces exactly as it treats a tab?

Tags:

eclipse

I understand how to get Eclipse to insert spaces in place of tabs, but then I'd rather not have to arrow through 12 spaces to reach an indented block.

Bonus points if there's a way to hide the spaces from the 'show whitespace characters'. I like to see whitespace characters for tabs and carriage returns, but the display gets too cluttered when spaces are also displayed.

like image 580
Luke Bayes Avatar asked Jul 17 '09 00:07

Luke Bayes


2 Answers

Try CTRL+[right,left] arrow key. Certainly one of my most-used combos.

like image 193
Not Sure Avatar answered Dec 31 '22 03:12

Not Sure


As it turns out, this appears to not be possible in Eclipse.

like image 20
Luke Bayes Avatar answered Dec 31 '22 02:12

Luke Bayes