1、打开Eclipse。
然后 找到上面的window->preferences
2、找到General--->keys
3、查找undo。
修改为Ctrl+Z
设置 when 为如图所示
4、之后就可以使用undo CTrl+Z键了。