I am using Eclipse to develop Android applications

I have a weird problem where Eclipse has stopped giving default proposals. Previously it was working fine and but now not working.

Cleaned the workspace but no improvement in the behaviour.

enter image description here

有帮助吗?

解决方案

I had exactly the same problem recently, right after having upgraded my Eclipse.

Open your preferences (Window/Preferences/Java/Editor/Content Assist/Advanced) and ensure that "Java Proposals" is checked: enter image description here

If this was fine already, check the level above (Window/Preferences/Java/Editor/Content Assist), as follows: enter image description here

EDIT (as commented below) Should both settings be correct, Eclipse is maybe a little overwhelmed. Try to restart it and wait for the worskpace tasks (build, compile, highlighting, ...) to finish properly. It often works.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top