Adil Bhatty
Adil Bhatty

Reputation: 17340

Not getting content assistant/ intellisense in Eclipse

I having issue that content assistant / intellisense is working in methods such as onCreate but when I am calling it inside onClick method its not working.

I have attached screen shots of both scenarios.

Working Content Assistant

Above image show its working when I call it using ctrl + space in oncreate method

Not Working Content Assistant

Above image its not working

Also I am getting this error "The method onCreate(Bundle) of type ACTIVITY NAME must override or implement a supertype method"

shown in image

enter image description here

But activity is already overriding super method.

This is only happening in this activity, other activities content assistant is working.

Upvotes: 1

Views: 1705

Answers (2)

MAC
MAC

Reputation: 15847

Go to

Window -> preferences

see the search box write here content assist

Copy and PASTE this string without Quote

".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789"

in auto activation trigger as shows in figure below

enter image description here

Upvotes: 0

Bhavin
Bhavin

Reputation: 6010

Have you tried to Reset To Default Option in :

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

In that "Api Proposal tools" is Main.

Then it will work, in that above window all options are for intellisense ( Ctrl + Space) only, just have a look, if gets confusing then just set it to Default and ya that's it.

Upvotes: 1

Related Questions