--------------------------------------------------------------------------------------------------------------------------
1.向右缩进:选择整段代码,然后按"Tab"键;
2.向左缩进:选择整段代码,然后按"Shift"+"Tab"键(如果不管用,使用下面策略);
3.修改Tab键的缩进:
window-preference-Java-Code-Style-Formatter, 选择edit,然后选第一项indentation(缩进), 在Tab policy这项选Space only
--------------------------------------------------------------------------------------------------------
myeclipse下java编辑器选中元素无法高亮显示的解决方案:
windows-> preferences-> java-> Editor-> Mark Occurences
最上边的大标题的复选框勾上,下面的就都可以高亮显示了,Local variables是变量的高亮显示