Community
Participate
Working Groups
Content assist does not work in certain places of my code, where there are no error markers. Hover help is available in the places where content assist does not work. Through experimentation, I discovered a code pattern which demonstrates the problem. Of course, I don't know that this exhaustively describes the problem. But you can comment out the groups of lines indicated below and see that content assist starts working. I have various Java proposal types enabled in the Java/Editor/Content Assist/Advanced preference node. Changing these did not seem to help. I'm using the latest Neon release (4.6.3). public class Foo { Object obj = new Object() { //A public void foo() { if (true) { // B new Object() { void foo() {}}//C ; } //B /* * No content assist proposals work here unless you comment out lines marked * as A, B, or C (or any combination of them) */ new Object(); } }; //A }
Might be a case of not accounting for closing braces. Will take a look for 4.8.
In support of the theory about closing braces, I can add extra closing braces to make content assist start working in the subsequent code lines. Of course, there are error markers then.
moving out to M3
Sorry, this has to be moved out again.
Bulk move out of 4.8
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.