自从使用了,eclipse indigo 3.7.1 ,快半年了
就一直存在着 copy 过来的代码,paste 时,不能自动import 包
首先检查了 (menu: Windows
- Preferences
) enter "paste" into the search field (top left).
It should find Java
- Editor
- Typing
Uncheck the Update imports
in the When pasting
block.
但是还是不行
以前一直忍着 今天实在是叔可忍,嫂不可忍
无意中发现 ,右键菜单中 copy的 快捷键 竟然是 ctrl+inset 而不是我们常用的 ctrl+c
立马
Windows
--Preferences-general-keys
改成了 ctrl+c
ok 了