Eclipse - ADT plugin not auto-completing

2019-06-19 01:29发布

I'm trying to build a hello-world program here to check my android kit installation. But the problem is that our good old auto importing functionality of eclipse using ctrl+space just isn't working. I believe there's been some goof up in installation from my end. Any insights on this will be highly appreciated.

4条回答
爷的心禁止访问
2楼-- · 2019-06-19 02:06

@mindReader

Probably, in your computer, the ctrl + space has been occupied by the lanaguage switch option. I am in this case. After I changed the ctrl+ space for changing language to shift+space.

I have the loving auto-completing back in ADT under ubuntu, hope it helps you~

查看更多
Luminary・发光体
3楼-- · 2019-06-19 02:08

enter image description here

I had this same problem. Here is how I solved it.

In Eclipse go to

Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced

And check the boxes labeled "Java Proposals" and hit Apply.

This solved my problem. Hope it helps.

查看更多
老娘就宠你
4楼-- · 2019-06-19 02:13

This is not exactly what you are looking for, but anyways. This will auto complete your imports:
Ctrl+Shift+O

查看更多
5楼-- · 2019-06-19 02:20

This link helped me. Specifically I had to do:
Go Preferences>Java>Editor>Content Assist>Advanced Make sure “Other Java Proposals” is ticked (and all other Java stuff)

查看更多
登录 后发表回答