Eclipse Luna 代码补全无法使用的问题 alt + /

本文转自:http://blog.csdn.net/dreamtang/article/details/39693213

Eclipse Luna

Eclipse Neon


下了新版本的Eclipse版本(LUNA, Neon), 各种配置后发现代码补全不能用...
本能的按下"ALT+/"发现没有效果, 在Activity中输入"onC"后按"ALT+/", 只能补全到"onCreate"...

上网搜了一下解决方法:


        1. 打开Window => Preferences => General => Keys

        2. 搜索 "Word Completion", 点击"Unbind Command"解除绑定。

        3. 搜索 "Content Assist" :
           1)、点击 "Unbind Command" 按钮。
           2)、然后用鼠标点击 Binding 输入框, 再同时按下 ALT 和 / 键
           3)、最后点击 确定 即可.



步骤3注意:
      搜索Content Assist的时候, 会出来很多个Content Assist。
      只选择第一个即可,即:Content Assist后面没有"()"的。










-

猜你喜欢

转载自lixh1986.iteye.com/blog/2191774